Extracting data from external file
Mostrar comentarios más antiguos
Not sure how to even start this, I got the data onto matlab via import the 3 columns I labeled X Y Z
1 comentario
Walter Roberson
el 17 de Feb. de 2020
The monthly means for January are the ones where Y==1. You can index Z by that logical vector.
Respuestas (1)
Ajay Pattassery
el 19 de Feb. de 2020
0 votos
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.
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.
Categorías
Más información sobre Weather and Atmospheric Science en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!