Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Control flow of loop

1 Ansicht (letzte 30 Tage)
SNEHA P S
SNEHA P S am 20 Jul. 2017
Geschlossen: Sabin am 30 Jan. 2023
for i = 2:41616 if x(i-1) < 0.5 x(i) = a*x(i-1); elseif x(i-1) >= 0.5 x(i) = a*(1- x(i-1));
end
end
I would like to change each of the x(i) values using the below given statement and i need an 1D vector sy. So please help me where should i place this code statement to find "sy" in the above code. Because i am unsure about the control flow. "sy = mod((x(i) * (10^10)),256);"

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by