Question: In Matlab, use the diary command to capture in a text file your session (>> help diary) . Use both an inline function and an
In Matlab, use the diary command to capture in a text file your session (>> help diary) . Use both an inline function and an m-file to create the function in the problem below. Turn in a copy of your code. (see 8.1.1)
(a) Define a function h(t) = 5 sin(ct). Do not forget about the implied multiplications!
(b) Choose c=1.3 and evaluate h at t=0.0, t=1.0 and t=3.2.
(c) Plot the function h for t [0, 5].
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
