what the loop or function to display each item?

1 回表示 (過去 30 日間)
glamour
glamour 2017 年 12 月 5 日
回答済み: Nicolas Schmit 2017 年 12 月 5 日
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?

回答 (1 件)

Nicolas Schmit
Nicolas Schmit 2017 年 12 月 5 日
What about something like this?
numbers = randi(100, 1,10);
for k=1:numel(numbers)
disp(numbers(k))
pause(5)
end

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by