matlab-tutorial
45 pages
English

matlab-tutorial

Le téléchargement nécessite un accès à la bibliothèque YouScribe
Tout savoir sur nos offres
45 pages
English
Le téléchargement nécessite un accès à la bibliothèque YouScribe
Tout savoir sur nos offres

Description

Matlab tutorialNathanael FillmoreSeptember 20092. Matlab as a glorified graphing calculator.3. Matlab as a programming language.4. Demo.Note: 1 “” 2 “” 3.Outline1. Matlab as a glorified calculator.3. Matlab as a programming language.4. Demo.Note: 1 “” 2 “” 3.Outline1. Matlab as a glorified calculator.2. Matlab as a glorified graphing calculator.4. Demo.Note: 1 “” 2 “” 3.Outline1. Matlab as a glorified calculator.2. Matlab as a glorified graphing calculator.3. Matlab as a programming language.Note: 1 “” 2 “” 3.Outline1. Matlab as a glorified calculator.2. Matlab as a glorified graphing calculator.3. Matlab as a programming language.4. Demo.Outline1. Matlab as a glorified calculator.2. Matlab as a glorified graphing calculator.3. Matlab as a programming language.4. Demo.Note: 1 “” 2 “” 3.I Trigonometric:>> sin(pi/2)ans =1I Exponential:>> log(exp(1))ans =1Matlab as a glorified calculator: scalarsWhatever you think should work will probably work:I Arithmetic:>> (2+3 4)/6*ans =2.3333I Exponential:>> log(exp(1))ans =1Matlab as a glorified calculator: scalarsWhatever you think should work will probably work:I Arithmetic:>> (2+3 4)/6*ans =2.3333I Trigonometric:>> sin(pi/2)ans =1Matlab as a glorified calculator: scalarsWhatever you think should work will probably work:I Arithmetic:>> (2+3 4)/6*ans =2.3333I Trigonometric:>> sin(pi/2)ans =1I Exponential:>> log(exp(1))ans =1I Column vectors:And access their ...

Informations

Publié par
Nombre de lectures 50
Langue English

Extrait

Matlab
tutor
Nathanael Fillmore September 2009
ial
Ma2.gasabaltgdeirollaucalotarhpnicgabasapror.3.MatlgnalegaumarggnimteNo:1.D.4o.em
ied
glor
1.
calculator.
Matlab
Outline
a
as
3”.2”
.3aMaugnalgnmeD.4.egapasabtlmiamgrro
a
as
calculator.
gloried
.
Matlab
Outline
as
a
2.
Matlab
calculator.
1.
gloried
graphing
te:1o.No”3”2
Outline
1.
2.
3.
Matlab
Matlab
Matlab
as
as
as
a
a
a
gloried calculator.
gloried graphing calculator.
programming
language.
4N.toD:eem1o.”2”3.
Outline
1.
2.
3.
4.
Matlab
Matlab
Matlab
Demo.
as
as
as
a
a
a
gloried calculator.
gloried graphing calculator.
programming
language.
oNet:1”2”3.
Outline
1.Matlab as a gloried calculator.
2.Matlab as a gloried graphing calculator.
3.Matlab as a programming language.
4.Demo.
Note: 1 “” 2 “” 3.
I>>olai:l(p)1(gxe=1
>> (2+3*4)/6 ans = 2.3333
)ans
will
probably
work:
Matlab as a gloried calculator: scalars
Arithmetic:
Whatever you think
should
work
ITrigonortem>:cinis>/ip(an2)1Is=poExntne
Matlab as a gloried calculator: scalars
Whatever you think should work will probably work:
I
IpoExp(1))ans=1
>> (2+3*4)/6 ans = 2.3333
Arithmetic:
I
Trigonometric:
>> sin(pi/2) ans = 1
entnai:l>>ol(gxe
Matlab as a gloried calculator: scalars
Whatever you think should work will probably work:
I
I
I
Arithmetic:
>> (2+3*4)/6 ans = 2.3333
Trigonometric:
>> sin(pi/2) ans = 1
Exponential:
>> log(exp(1)) ans = 1
)2>>(x)3(x)1>>(xments:>>theirelecadnssecotceA:srolICnvum
You
I
can also dene
Row vectors:
vectors
vectors:
Matlab as a gloried
calculator:
4
8
>> x=[2 x =
2
8]
4
=sna=sna842=sna
vectors
4
>> x=[2 4 8] x = 2
I
Column vectors: >> x=[2;4;8] x =
8
2 4 8
calculator:
Matlab as a gloried
sn2=84
You can also dene vectors: IRow vectors:
setsadcclemeehriAna)3(x>>)a=sna=sn>x:>tsen(2>x)>(1
  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents