generating random signal
38 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Daniel
am 30 Nov. 2011
Beantwortet: Usman Kabir
am 26 Mär. 2018
how do i write a simple matlab code that generates a random signal with amplitude varying from 0 to 200 and has length of 2000??
thanks in advance :)
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (2)
Walter Roberson
am 30 Nov. 2011
rand() returns numbers in the range 0 to 1. You can scale and translate those number as needed. You can tell rand() how many values you want to generate.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Random Number Generation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!