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 Center および File ExchangeTitle についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by