#matlabfunction
Explore tagged Tumblr posts
kpoints · 6 years ago
Text
Matlab Animation
There is a two simple way to animate plot in Matlab. First is by standard plot function – you can employ it in a way that the animation looks smooth.
Second, there are special functions getframe and movie, which allows us to capture sequence of plots and then play them. Let’s look at an example:
Tumblr media
So, we have matlab function file named kp_animation, with return value M and input arguments –…
View On WordPress
0 notes
kpoints · 6 years ago
Text
Matlab M-Files
M-Files are files with .m extension, which can be script or function file. Nothing special, its just a series of statements that can be run at once.
In order to create M-File you should first open editor by clicking ctrl+n or by clicking File->New->Script. In fact, you will see that (if you create with second method) there are other choices like Function, Class, etc. But these are just…
View On WordPress
0 notes