generating random signal
Mostra commenti meno recenti
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 :)
Risposta accettata
Più risposte (2)
Walter Roberson
il 30 Nov 2011
1 voto
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.
Usman Kabir
il 26 Mar 2018
0 voti
Nice
Categorie
Scopri di più su Random Number Generation in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!