Top Banner
MATLAB and Intro to Simulink - Topics which will be dealt today Single instructions can be given in command window :- Matlab is an interpreter Deleting the particular variable in workspace :- CLEAR function is used
16

MATLAB Workshop Running Notes

Aug 18, 2015

Download

Documents

Varun Shastry

Usefful matlab stuff - introductory
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript

MATLAB and Intro to Simulink- Topics which will be dealt today Single instructions can be given in command window :-Matlab is an interpretereleting the particular variable in workspace :- !L"A# $unction is used Int%& int'(& int)*& int(+ , signed -nint%& unint'(& uunint)*& unint(+ , unassigned !ollege . /IIT01 , char type In MATLAB& si2e '3+ means& matlab saves data in ' row& and + columns !omma or space can be used $or separation4And a semicolon to separate rows4 Semicolon at the end o$ command will e3ecute and result in workspace5 but will not display it in command window !lear 44will e3ecute and delete all variables in the workspace & but 6clc7 will clear out everything in command window8ou can use the previous commands $rom command history using 6copy74 Also& you can e3ecute the commands using 6"valuate Selection7 !olon operator :--sed to speci$y a range o$ values epending on window si2e& no4 o$ elements displayed in a row varies 9or a range to speci$y :44 A . ;':'