Matlab is a is a is a multi-paradigm numerical computing environment and fourth-generation programming language. MATLAB stands for MATRIX LABORATARY. The MATLAB software looks like
We Have write code on m-File. To create m-File click on new script.
m-File looks like the image below.Code should be written in the workspace given below in the image
after writing the code to execute it click on the run as shown below
the m-file commands are gonna executed and shows the results on the command window in line to line execution format. we can also directly enter the code in command window without m-file.
The commands you enter are saved in command history.you can retrieve them at any time.
if
command window isnt present enter "commandhistory" on command window (without " ")
You can also search for documentation on search box.
suggestion: enter the code in command window that helps to see what happens for each and every line of code we enters.Disadvantage of using directly in command window is that we cannot save the results.
We Have write code on m-File. To create m-File click on new script.
m-File looks like the image below.Code should be written in the workspace given below in the image
after writing the code to execute it click on the run as shown below
the m-file commands are gonna executed and shows the results on the command window in line to line execution format. we can also directly enter the code in command window without m-file.
The commands you enter are saved in command history.you can retrieve them at any time.
if
command window isnt present enter "commandhistory" on command window (without " ")
You can also search for documentation on search box.
suggestion: enter the code in command window that helps to see what happens for each and every line of code we enters.Disadvantage of using directly in command window is that we cannot save the results.
No comments:
Post a Comment