Introduction to MATLAB
Introduction
To get started, type one of these commands: helpwin, helpdesk, or demo
>> The various forms of help available are
helpwin Opens a matlab help GUI
demo Starts the matlab demonstration
Home -> environment -> Preferences
Variables and Scalars
-----------------------------------------------------------------------------------
Arrays, Vectors and Matrices
V = [ 1 4 6 7];
V2 = 1:7;
V3 = 1:2:10;
V1 +V2
V1-V2
V1/V2 or V1*V2 ?
Matrices
Matlab Functions
Mathematical operations
Example
Exercise
Application
Polynomials
Polynomial multiplication
Curve Fitting (Regression)
Interpolation