How to put NaN in certain row of particular column according to another column having NaN in some row
1 view (last 30 days)
Show older comments
Commented: Ritesh on 15 Mar 2023
here in 10th column(u_py) some row is NaN , I have to put NaN in same row of 5th column (Pyrn2_Avg).
VBBV on 15 Mar 2023
data.Pyrn2_Avg(isnan(data.u_py)) = NaN; % assign NaN to this line
More Answers (0)
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!