Plot Hurricane Track Data
이전 댓글 표시
I'm trying to plot hurricane track data on a map, but I'm not super fluent in Matlab. I have a txt file that I'm loading into the system but the other resources I'm finding don't quite align with what I'm doing.
Edit: I've included the data. And below is a link to the method I tried using to plot.
댓글 수: 6
dpb
2020년 6월 19일
Certainly without a sample of the data and what you've tried and where have specific problems, not much we can do.. plotm should do the trick presuming you have Mapping Toolbox...
Tiana Johnson
2020년 6월 22일
dpb
2020년 6월 22일
Well, that looks like pretty complete example...what happened when you tried to follow it?
Tiana Johnson
2020년 6월 22일
편집: Tiana Johnson
2020년 6월 22일
Well, you don't get anywhere by not trying something! :)
- You have date, time, lat, lon...that's all that's needed to plot. Look at readtable as one likely candidate way to import the data file. You'll need to parse the lat, lon data to handle the appended direction, but that's handled easily enough by converting the cellstr() that will be returned by default with str2double() or similar.
- Well, it shouldn't take much imagination to stop in the example code after one data set nor to see with only one you don't have to select the data by ID/name.
- Try with the "Getting Started" documenation and the "On Ramp" training to get the barest of MATLAB syntax under belt...there's a whole section in the documentation on data import with examples for templates...
Tiana Johnson
2020년 6월 22일
편집: dpb
2020년 6월 22일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
