| MATLAB Central > MATLAB Newsreader > Help to improve speed of program |
|
|
|
Subject: Help to improve speed of program From: Dips Bhatia Date: 12 Nov, 2009 16:56:02 Message: 1 of 10 |
|
Hi, |
|
Subject: Help to improve speed of program From: Miroslav Balda Date: 12 Nov, 2009 17:32:03 Message: 2 of 10 |
|
"Dips Bhatia" <deepakdbhatia@gmail.com> wrote in message <hdhen2$bbd$1@fred.mathworks.com>... |
|
Subject: Help to improve speed of program From: Dips Bhatia Date: 12 Nov, 2009 18:03:19 Message: 3 of 10 |
|
"Miroslav Balda" <miroslav.nospam@balda.cz> wrote in message <hdhgqi$nqk$1@fred.mathworks.com>... |
|
Subject: Help to improve speed of program From: Dips Bhatia Date: 12 Nov, 2009 22:32:03 Message: 4 of 10 |
|
"Dips Bhatia" <deepakdbhatia@gmail.com> wrote in message <hdhen2$bbd$1@fred.mathworks.com>... |
|
I propose the following. Basically, I pre-allocated B and got rid of all calls to ismember (lots of overhead from that). |
|
Sorry. A few minor fixes below. Anyway, I test it on a worst case data set |
|
Subject: Help to improve speed of program From: Dips Bhatia Date: 13 Nov, 2009 01:09:02 Message: 7 of 10 |
|
"Matt " <xys@whatever.com> wrote in message <hdi3o9$6hm$1@fred.mathworks.com>... |
|
Subject: Help to improve speed of program From: Dips Bhatia Date: 13 Nov, 2009 22:50:18 Message: 8 of 10 |
|
"Matt " <xys@whatever.com> wrote in message <hdi3o9$6hm$1@fred.mathworks.com>... |
|
"Dips Bhatia" <deepakdbhatia@gmail.com> wrote in message <hdknra$h54$1@fred.mathworks.com>... |
|
Subject: Help to improve speed of program From: Dips Bhatia Date: 13 Nov, 2009 23:17:04 Message: 10 of 10 |
|
"Matt " <xys@whatever.com> wrote in message <hdkonf$al2$1@fred.mathworks.com>... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| matrix sorting | Dips Bhatia | 12 Nov, 2009 11:59:09 |
Contact us at files@mathworks.com
