필터 지우기
필터 지우기

Extracting data from external file

조회 수: 1 (최근 30일)
Aaron Edwards
Aaron Edwards 2020년 2월 16일
답변: Ajay Pattassery 2020년 2월 19일
Not sure how to even start this, I got the data onto matlab via import the 3 columns I labeled X Y Z
  댓글 수: 1
Walter Roberson
Walter Roberson 2020년 2월 17일
The monthly means for January are the ones where Y==1. You can index Z by that logical vector.

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

답변 (1개)

Ajay Pattassery
Ajay Pattassery 2020년 2월 19일
The NorfolkMonMeanTemp.dat seems a matrix with 3 columns.
The questions like extracting the monthly mean for a particular month are matrix indexing.
You can refer the following documentation as a start to understand about retrieving elements from a matrix.
Similarly, refer plot for plotting the mentioned variables.
If you are new to Matlab I strongly suggest doing the MATLAB Onramp course which will help in answering
most of the questions in the attached image.

카테고리

Help CenterFile Exchange에서 Weather and Atmospheric Science에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by