Combine (overlap) two diffrent variables
Mostrar comentarios más antiguos
Hello!
need help to find overlap two diffrent variables (find where the values ar the same) xdate (180 values one row) and xdate_month (288 values on row). The two variables contain matlab numbers for date and starts and end with:
xdate: [NaN.....730867......735827.....NaN] ther are some NaN in the end and in the start
xdate_month: [726848.......735583] no NaN values.
When l have the overlapping values, x I can plot x with a y1 and y2 variables (y1 variables are observed gross primary production (GPP) values and y2 are modelled GPP on the same plot.
thanks in advance!
Carl
1 comentario
Look at
doc ismember
doc intersect
and friends...
Respuestas (1)
Gaurav Garg
el 28 de En. de 2021
Categorías
Más información sobre NaNs 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!