| MATLAB Central > MATLAB Newsreader > Need to make code more Efficient |
|
|
|
Subject: Need to make code more Efficient From: Fraser Dickson Date: 9 Feb, 2010 10:36:04 Message: 1 of 7 |
|
Hi i have a piece of code that looks through a data set and works out the average value for each cell based on the values sourrounding that cell ( 10 cells above and 10 cells below averaged). The data set is extremely large ( roughly 500 x 40) so i was wondering if anyone could reccomend how i can speed up my code. I have a lot of for loops and im sure there is nothing efficient about that ! |
|
Subject: Need to make code more Efficient From: Oleg Komarov Date: 9 Feb, 2010 12:49:02 Message: 2 of 7 |
|
"Fraser Dickson" |
|
Subject: Need to make code more Efficient From: Fraser Dickson Date: 9 Feb, 2010 13:08:02 Message: 3 of 7 |
|
Hi |
|
Subject: Need to make code more Efficient From: Walter Roberson Date: 9 Feb, 2010 15:42:36 Message: 4 of 7 |
|
Fraser Dickson wrote: |
|
Subject: Need to make code more Efficient From: Oleg Komarov Date: 9 Feb, 2010 15:52:04 Message: 5 of 7 |
|
> I thought i was using vectorized loops could you explain what i am doing wrong? |
|
Subject: Need to make code more Efficient From: Fraser Dickson Date: 9 Feb, 2010 20:12:18 Message: 6 of 7 |
|
I dont realy understand how i could do what i need to do without using a loop??? |
|
Subject: Need to make code more Efficient From: Walter Roberson Date: 9 Feb, 2010 22:29:27 Message: 7 of 7 |
|
Fraser Dickson wrote: |
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.
Contact us at files@mathworks.com
