MATLAB: How can i plot a signal with amplitude, phase and frequency

transformed signals

you have a signal y=sin(t), t=[1:0.01:2]. plot this signal with amplitude 7, phase 11.14 and frequency 9. how can i plot the graph with the Amplitude 7, Phase 11.14 and frequency 9?

Best Answer

t = 1:0.01:2 ;
amp = 7 ;
phase = 11.14 ;
f = 9 ; % I am assuming it as Hertz
y = amp*sin(2*pi*f*t+phase) ;
plot(t,y)
Related Question