Here are some common command lines of Matlab that I used in my code.
1. strcmp( str1, str2);
- compare str1 and str2
- If str1 is same to str2, return 1. Otherwise return 0.
2. nargin
- count the number of the inputs.
3. degtorad
angleInRadians = degtorad(angleInDegrees)
4 Sometimes there countless figure pop up in Matlab and you really want to close them at one time. Then you can use the command "close all"! Done!