Set nan values
Show older comments
Why i can´t do this?
x550(:,2)(x550(:,2)<200)=nan
??? Error: ()-indexing must appear last in an index expression.
Best Regards
Accepted Answer
More Answers (1)
John D'Errico
on 9 Sep 2011
0 votes
Because it is invalid MATLAB syntax. Wanting to do something does not make it possible.
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!