Ask for help to solve the question.

28 次查看(过去 30 天)
Shi Yuhao
Shi Yuhao 2014-4-28
编辑: DGM 2024-4-10,2:50
write a script to input an integer number between 0 and 255, and output the number to the screen between the characters '< ' and ' > ' . This input and display operation should be repeated 10 times. After the 10th iteration the script should save all the input numbers to a text file in a human readable form.
I have no idea to do it.

回答(1 个)

Walter Roberson
Walter Roberson 2014-4-28
See "for" and "input". See also fprintf(), dlmwrite(), and save() with the -ascii option.

类别

Help CenterFile Exchange 中查找有关 Title 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by