loop for while etc

1 view (last 30 days)
ahmad ramadan
ahmad ramadan on 22 Oct 2018
Commented: Adam on 23 Oct 2018
how to write this code

Answers (1)

Adam
Adam on 22 Oct 2018
n = 0:100000;
s = 0.5 * sin( n / 33 );
  2 Comments
YT
YT on 22 Oct 2018
Not really relevant, but doesnt 10,0000 seem more like 10 than 100.000 ?
Adam
Adam on 23 Oct 2018
Could be. Either way it isn't notation I'm familiar with so I just counted the 0s and ignored the comma!

Sign in to comment.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!