Complex Math Solved
Complex Math Solved
Hand/Calculator workspace:
Symbolic/algebra
form
Numerical
Hand/Calculator workspace:
Hand/Calculator workspace:
For the x t above, plot x t – 2 for 0 t 15 s, overlaid on the plot of x t of part (1).
>> hold on % will hold the previous plot so you can overlay a new plot
>> hold
Current plot held
>> plot(t,25*sin(pi*(t-2)/5+pi/4),'r')
>> print -depsc -tiff wks_fig2.eps
x(t 2)
x(t)
y = 3*cos(t) + 4*sin(3*t);
>> plot(t,y)
4
>> grid
>> xlabel('Time (s)') 2
Amplitude
>> ylabel('Amplitude')
0
>> print -tiff -depsc
fig1.eps −2
−4
−6
−8
−2 0 2 4 6 8 10
Time (s)