vector and string problem

조회 수: 15 (최근 30일)
matt noman
matt noman 2020년 2월 7일
답변: Walter Roberson 2020년 2월 7일
Your field team is going to collect additional data 3 days after the last day of previously recorded data. Prompt the user to enter the ice thickness data for this day, for all locations. Additionally, on this day a new location was found and recorded. Prompt the user to enter the new location ID and the ice data for the new location on this day. Update the Days vector with the new day, the LocationID string array with the new location, and the Ice matrix with the newly recorded data. Fill in the last column of the Ice matrix with average ice data value for each day. Save the three updated variables as MA2_Task2.mat. On the command window, output the new location ID and the average ice thickness of the new day.
How do I enter the ice thickness for this day for all the locations?
  댓글 수: 2
Walter Roberson
Walter Roberson 2020년 2월 7일
You did not ask a question.
Walter Roberson
Walter Roberson 2020년 2월 7일
Sorry, I didn't notice your inserted question.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2020년 2월 7일
input() or inputdlg() or uitable() to enter data. You can loop.

카테고리

Help CenterFile Exchange에서 Calendar에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by