MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Getting rid of for loop 

Subject: Getting rid of for loop From: Peder Schmedling Date: 27 Sep, 2010 14:12:04 Message: 1 of 12 
Hi, 
"Peder Schmedling" <peder.schmedling@sensonor.no> wrote in message <i7q8nk$lg7$1@fred.mathworks.com>... 
"Peder Schmedling" <peder.schmedling@sensonor.no> wrote in message <i7q8nk$lg7$1@fred.mathworks.com>... 
"Oleg Komarov" <oleg.komarovRemove.this@hotmail.it> wrote in message 
Subject: Getting rid of for loop From: Peder Schmedling Date: 27 Sep, 2010 17:18:05 Message: 5 of 12 
"Matt Fig" <spamanon@yahoo.com> wrote in message <i7qi9r$l4q$1@fred.mathworks.com>... 
> > I don't think this will work because z itself is changing in the loop. 
Dear Peder, 
I think Matlab does not have recursion builtin function beside FILTER, which cannot process varying coefficients like yours. The only enhancement I can think of if get rid of calling RAND within the loop: 
Sorry for that typo at the line: 
Dear Bruno, 
On Sep 28, 1:23 am, "Jan Simon" <matlab.THIS_Y...@nMINUSsimon.de> 
"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <i7r90q$7sn$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.