![]() For deleting variables from the workspace, select any particular variable click on EDIT then DELETE. MATLAB workspace consists of set of variables made during the time of performing mathematical operations, running saved M-files, and loading saved workspaces. ![]() M-File is nothing but a text file which contains MATLAB code ![]() Also, you can create an M-file for selected statement. Even we can select any previously entered function or line and execute it. It means the function or lines you entered in the Command window is also visible in the Command History window. Now, for performing simple mathematical operation like addition and subtraction, lets take any two numbers 12 and 14.Ĭommand history means the history of the command window. If we want to make a row vector with increment by 2 then simply write » u = u = 0 2 4 6 8Īnd for decrement by 2 » u = u = 12 10 8 6 4 2 If we want to make a row vector from 0, 1, 2, 3, 4, 5, 6, 7, 8 then we can simply write as » a = a = 0 1 2 3 4 5 6 7 8
0 Comments
Leave a Reply. |