Today is : Thursday, 09 Sep 2010
>>     Home Matlab Basics for Powersystem Lab
Matlab Basics for Powersystem Lab
Matlab Basics for Powersystem Lab - Plottings PDF Print E-mail
Tuesday, 03 November 2009 06:34
Article Index
Matlab Basics for Powersystem Lab
Vectors
Functions
Plottings
Polynomials
Matrices
Using M-files in Matlab
Getting help in Matlab
All Pages

PLOTTINGS

It is also easy to create plots in Matlab. Suppose you wanted to plot a sine wave as a function of time. First make a time vector (the semicolon after each statement tells Matlab we don't want to see all the values) and then compute the sin value at each time.


t=0:0.25:7;
y = sin(t);


plot(t,y)

The plot contains approximately one period of a sine wave. Basic plotting is very easy in Matlab, and the plot command has extensive add-on capabilities. I would recommend you visit the plotting page to learn more about it.



Last Updated on Tuesday, 03 November 2009 07:38
 
Request to all Stamford EEE brothers- please submit your class notes for your junior brothers
"Be senior brother in your works!"
Uploaded Notes by the EEE students of Stamford
* DC Generator
* VLSI-I Lab Reports
* Bangladesh Studies
* Control System Solutions
* Control System Lab Reports
* Power System Assignment - 01
* Power System Assignment - 02