MATLAB Answers

How do I isolate certain portions of my data in a time series?

3 views (last 30 days)
Damian Martin
Damian Martin on 18 Oct 2020
Answered: Prudhvi Peddagoni on 21 Oct 2020
Sorry, I am new ot MatLab and I have a 429x18 array measuring 18 different parameters - one of those being downwelling shortwave radiation. I need to isolate any data in the time series with shortwave downwelling >20 Wm-2. My professor mentions using "ii=find(Rsw>20)" to find the indices ii I am looking for, but I am having a hard time actually typing this into MatLab in the correct format it seems.
  1 Comment
Mathieu NOE
Mathieu NOE on 19 Oct 2020
hi
have you looked at the help (type help find in the command window)

Sign in to comment.

Answers (1)

Prudhvi Peddagoni
Prudhvi Peddagoni on 21 Oct 2020
Hi,
there is a way to extract elements from the matrix based on some predefined conditions.
please refer this answer for the steps to do this.
Hope this helps.

Community Treasure Hunt

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

Start Hunting!