Info

This question is closed. Reopen it to edit or answer.

how to get rid of transient effect for 'N' times. ? or which command is used for this?

1 view (last 30 days)
x(1)=0.342564;
q=0.35343;
N=200;
for n=2:65536;
x(n)=(x(n-1)-floor(x(n-1)/q)*q)/q;
end
  1 Comment
Jan
Jan on 21 Jun 2019
Edited: Jan on 21 Jun 2019
@Sultan: Please mention, what you consider as "transient effect for 'n' times" What is the problem with this code? The variable N is not used anywhere, so what is its purpose?

Answers (0)

Community Treasure Hunt

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

Start Hunting!