How can i plot a signal with amplitude, phase and frequency?
14 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
More Answers (1)
Ashwary Gupta
on 29 Jul 2021
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)
0 Comments
See Also
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!