Finding high and low z cores on a data set

1 Ansicht (letzte 30 Tage)
desert_scientist90
desert_scientist90 am 23 Okt. 2019
Hi I have a data set on a 0.5 grid, the dimension for x is 141, y is 71 and t is 38. I got the z scores and I squeeze them to get a 71*38 array. I am trying to find which years have a score below -1 and which years got a score +1. I used the following approach with no luck, the issue with this is that when I go to idx and idx1 I got only 0's and 1's with no dates. How can I get these results?
y = 1980:2017;
year = y';
year_z1 = horzcat(year,z1);
idx = year_z1(:,2) > 1;
high = year_z1(idx,:);
idx1 = year_z1(:,2) < -1;
low = year_z1(idx1,:);

Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by