how to create a sinus function?

2 views (last 30 days)
mei-tal
mei-tal on 10 Mar 2016
Answered: Walter Roberson on 10 Mar 2016
hey,
i need help with this question: plot a sinus with frequencies: 1,3,5 Hz over 2 sec and plot the sum of these signals.
Use 100 points for each signal.
thank you

Answers (1)

Walter Roberson
Walter Roberson on 10 Mar 2016
sin(frequency*2*pi * time_in_seconds)

Community Treasure Hunt

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

Start Hunting!