How to generate a sinosoidal signal

2 views (last 30 days)
Can i know how to generate a 15hz sinosoidal signal with an amplitude of 4 and last for 6 seconds?

Accepted Answer

Salahuddin Bangash
Salahuddin Bangash on 18 Nov 2017
Edited: Salahuddin Bangash on 18 Nov 2017
%you can use this,Try to Calculate time by your self.//cycles per 1 sec, for required time period.
y=4*sin(2*pi*f*t);
  4 Comments
Star Strider
Star Strider on 18 Nov 2017
No worries!
Giving hints or ‘getting started’ code is fine.
Tze Chwen Lim
Tze Chwen Lim on 19 Nov 2017
Thank you ayubi Sorry Star Strider Im just dont know how to get start

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!