If you are new to Matlab, then you are in the correct place to learn this powerful software. I’ll do my best to guide and help you. Let’s get started. Hope you’ll benefit from matlabtutorials.net. Cheers…
(1) First, you need to have Matlab software installed in your PC or laptop.
(2) Then, click the MATLAB icon on Windows to start MATLAB command window, which gives an interactive interface.
(3) The top menu bar can be used to open or write a M-file, which will be addressed later. Once started, MATLAB will provide some introductory remarks and pop up the MATLAB prompt >>.

(4) Help Facility. By typing “help”, “help <topics>”, you can get on-line help.
» help

(5) The following result will appear and you can choose any topics that you need some help with.

(6) If you need help for ODE (ordinary differential equation), you can type in:

and the following help topics related to ODE will appear.

(7) Performing very simple function
Let’s try an example. At the command prompt, type in x = 2.

After that click “enter” and the following will appear.

Repeat the entire process by defining y = 3 at the command prompt. The overall process is shown below:

Now, at the command prompt, type in x + y and press “ENTER”. The following will appear where 2 + 3 = 5 will be shown.

(8) Saving working space
After performing a process or calculation, you might perhaps want to save the file. Terminating a MATLAB session deletes the variables in the workspace. Hence, before quitting, you can save the workspace for later use by typing “save”, which saves the workspace automatically as “matlab.mat”. Or, you can also choose “save workspace as” with other “filenames”. For this example, I’ll save it as “example1.mat”.


Alternatively, you can save using other methods. In this case, we save it using the selected variables. To illustrate this, at the command prompt, type
>> save temp x y

which saves the current variable “x, y” into “temp.mat” as shown in the figure below.

(9) To retrieve all the variables from the file named “temp.mat”, type
» load temp
(10) Exit
Exit MATLAB by typing
» quit
or
» exit
Continue tutorial at Matlab Tutorials #2 – Fundamental Operations/Expressions.