Filter löschen
Filter löschen

what the loop or function to display each item?

1 Ansicht (letzte 30 Tage)
glamour
glamour am 5 Dez. 2017
Beantwortet: Nicolas Schmit am 5 Dez. 2017
hello
I want to run a program which is display different letters and numbers for 5 seconds for each number or letter for the participants to measure the memory. so what the loop or function to display each item?

Antworten (1)

Nicolas Schmit
Nicolas Schmit am 5 Dez. 2017
What about something like this?
numbers = randi(100, 1,10);
for k=1:numel(numbers)
disp(numbers(k))
pause(5)
end

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by