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