MATLAB Answers

how to genrate random signal

조회 수: 15(최근 30일)
irfan 6 Apr 2016
편집: Rick Rosson 7 Apr 2016

  댓글 수: 3

Geoff Hayes
Geoff Hayes 6 Apr 2016
irfan - please provide more details. What should the frequency be? What should be the amplitude? Or are these random too? Is N defined to be the block size?
Rick Rosson
Rick Rosson 6 Apr 2016
And, what probability distribution do you want to use? Gaussian? Uniform? Exponential? Or...?
irfan 7 Apr 2016
my frequency and amplitude are also random ,i am using uniformly distribution .i am confused how to do it so sir kindly help me

댓글을 달려면 로그인하십시오.

채택된 답변

Rick Rosson
Rick Rosson 7 Apr 2016
편집: Rick Rosson 7 Apr 2016
N = 1024;
x = rand(N,1);

  댓글 수: 0

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by