How do i plot this equation in the time domain

1 view (last 30 days)
5 • [1+K • m(t)]cos(2π1 t)
m(t)=1/5
  4 Comments
Jorg Woehl
Jorg Woehl on 7 Mar 2021
What is the value of K? Why do you write m as a function of t when it actually is a constant? What about the "1" in the argument of the cosine function? We can help if you provide us with all the details surrounding your equation.
Nikitas Valtadoros
Nikitas Valtadoros on 7 Mar 2021
I go the function from this, where The equation of the modulated signal is: s(t) = Ac • [1+K • m(t)]cos(2πfc t) = 5 • [1+K • m(t)]cos(2π1 t) , and i need to plot the signal in the time domain which is something i have no idea how to do and im i cant find anywhere how :(

Sign in to comment.

Answers (1)

Stephan
Stephan on 7 Mar 2021
Edited: Stephan on 7 Mar 2021
see what this does:
t = 0:0.01:2*pi;
also read about function handles in Matlab:
fun = @(t) 5 * (1 + K * m) .* cos(2*pi.*t)
Note that you have to define K also as a numeric value before you can claculate something with this...

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!