MATLAB(MATRIX LABORATORY) is a numerical computing environment and 4th generation programming language. Developed by MathWorks, MATLAB allows matrix manipulation, plotting of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other languages, including C, C++, Java and Fortran.
No body knows the exact power of MATLAB, if you learn this, your carrier will get boosted up.
You can simulate, calculate any equation almost anything through MATLAB.
No doubt MATLAB is very hard to learn, for those who are not dedicated and not passionate.
Original MATLAB Software is very costly and one can't purchase MATLAB, it is advised not to use pirated version of this
software either purchase Student Version of MATLAB from the MathWorks Site or you are advised to use FreeMAT(an open source software just like MATLAB), this can be used under GPL license for free.
One can download FreeMAT by clicking here.
It is available for all popular OS like Windows, Linux and OS X.
One can watch the FreeMAT startup Page on this link.
Now Lets Start with the tutorial.
Type these commands in the Command Window and see the Result, if you don't understand whats going on just click here.
Now let us see how to plot a sinusoidal wave using FreeMAT, follow the same procedure for MATLAB environment also.
Now type edit in the command window this open the editor screen in the FreeMAT or in MATLAB environment.
Now type the commands shown below and save the file with the name "sine_wave.m". Note the ".m" extension, it is must for both i.e MATLAB and FreeMAT.
Basically there are two types of ".m" files available.
First one is known as Script File and other one is Function File, the ".m" file created in this example is script file, while the function file will be discussed later.
Now here is the code.To have a clear look, view this link.
And to view the output in FreeMAT just press F5 or click on Debug and then Press on Execute Buffer.
while to view the output in MATLAB just click on run button or press F5 key or press Debug Button and then Click Run.
The output shown on this page.
Now we will see how to plot multiple figures on the same figure window in MATLAB environment.
First of all open the MATLAB editor from the command window by typing edit, then type the following command into the editor.
Contact at email@example.com for more information.