Professional Documents
Culture Documents
Tugas Dasar-Dasar Optimasi: "Implementasi Materi Pada Aplikasi Matlab"
Tugas Dasar-Dasar Optimasi: "Implementasi Materi Pada Aplikasi Matlab"
Disusun oleh :
FAKULTAS TEKNIK
UNIVERSITAS TARUMANAGARA
JAKARTA
2021
Tugas Materi Matlab
P1 ( x )=x 6 −3 x 5 +5 x 3−4 x2 +3 x +2
at x=−3
3. Plot the function
4. Matrix Writing
5. Matrix Multiplication (multiplication of row by column vectors) Let A=[ a 1 a2 … a n ]
and B=[ b 1 b2 … b n ]
C.*D = [ c 1 d 1 c 2 d 2 … c n d n ]
As an example, let C=[ 1 2 3 4 5 ] and D=[ −2 6 −3 8 7 ]
7. Write the MATLAB script that produces a simple plot for the waveform defined as
−4 t −3 t t2
y=f t =3 e cos 5 t−2 e sin 2t +
( )
t+1
in the 0 ≤ t ≤ 5 seconds interval.