Solving for the Velocities
Matlab will solve via Gaussian elimination through a simple operation of \
e.g., solving
Requires the following command line
q=H\f;
Creating a Video
Matlab makes this rather easy. Follow the following steps;
- Plot data. (fix axis so video is of same coordinate space)
- Put plot(s) into a vector.
- Turn vector into a avi movie.
The actual coding is as follows
<run code to generate plot>
figure;plot(x,y,'ko-');
axis([0 20 -2 0.3]);
F(v)=getframe;
movie2avi(F,'mymovie','fps',40,'quality',90);