Prev: co-simulation
Next: how to unload an image from an axis
From: alice on 29 Apr 2010 13:02 On Apr 29, 2:49 am, "Darren Rowland" <darrenjremovethisrowl...(a)hotmail.com> wrote: > Alice, > > Looking at your equations, it doesn't matter if p is given as a 2x3 array or as a 6x1 vector. Just to keep the indexing easier, I would have p in the form of a vector then the history of p can be recorded in a matrix of dimension 6-by-i, i.e. > > pMat = zeros(6,i); % preallocate storage for p vectors > > then within the loop you will have > pMat(:,i+1) = pMat(:,i) + w; > > Hth > Darren Is there a website or book which would have more info on this general approach? thanks
From: Darren Rowland on 30 Apr 2010 01:20
The "getting started" section in the Matlab help is a good place to start. Otherwise any of the books by Duane Hanselman or the online "Experiments" texts by Cleve http://www.mathworks.com/moler/exm/chapters.html?s_cid=1109_delg_exm_283671 Hth Darren |