About function idinput - prbs , Why is not change graph although change the number of shift registers?
Show older comments
I tried the codes as follows.
n = 3 and n=5
u = idinput(200,'prbs',[n,1],[-1,1]);
subplot(311), stairs(u), axis([0 200 -1.2 1.2]);
subplot(312), plot(covf(u,200)), axis([0 200 -0.2 0.2]);
subplot(313), periodogram(u);
But, Graph became same both n=3 and n=5.(See the figure below)
Please help about this problem.

Accepted Answer
More Answers (0)
Categories
Find more on System Identification Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!