covid data in matlab

조회 수: 3 (최근 30일)
Muhammad
Muhammad 2021년 5월 26일
댓글: Walter Roberson 2021년 5월 27일
i have done the first task but unable to do all other task becuse i donot understand how to find the avg_day and how to subtract the state data from the sheet plz help
  댓글 수: 14
Muhammad
Muhammad 2021년 5월 26일
elaborate the task 3 in the assignment that i attched in the task descriptionat the top
Walter Roberson
Walter Roberson 2021년 5월 27일
If you do not understand what is being asked of you, you should probably talk to the TA or to other people in your class about what is expected for that part. We are here to help you understand MATLAB, not to read your assignments for you.

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

답변 (1개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021년 5월 26일
Hi,
Have you managed to import data into matlab workspace? If not, you can employ: (1) readtable() or (2) xlsread(). The latter one is slower and not recommended.
Once you import data, you can rename columns of data via different variable names so you can manipulate easier your imported data.
To compute the average of column or row data can be done with mean().
Good luck.
  댓글 수: 4
Walter Roberson
Walter Roberson 2021년 5월 26일
Delete EVERY call to "clear all"
There is only one time to call "clear all" inside code, which is if you create a script to run to reset your MATLAB as close as possible to its initial state, to be used only when you finish with one task and want to go on to a different task without quitting MATLAB and re-entering MATLAB. If you would not willingly quit MATLAB at the point you have "clear all" (other than because it is inconvenient) then you should not have "clear all" in the code at all.
Muhammad
Muhammad 2021년 5월 26일
ok

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

카테고리

Help CenterFile Exchange에서 Chemical Process Design에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by