Dear Matlab community,
I am trying to set a certain array within a vector = NaN
If I have a vector with a dimension 9,1:
And I would like to set the elements 1-4 = NaN, to get the following output:
Does someone know how to set an array within the vector to NaNs? In this case, I know that element 1-4 should be NaNs.
Thank you very much!