Info

此问题已关闭。 请重新打开它进行编辑或回答。

Selective replacement of cell elements into NaN based on some conditions

1 次查看(过去 30 天)
I have an array of cells m = 1*36 cells.
Each cell has n1*1, n2*1,n3*1......n36*1 double elements (each cell is a column vector of different lengths,n1,n2...n36 etc)
I wish to retain the cells where ni (i=1 to 36) > =200 and for cells where ni<200, I want to replace by NaN
I shall be grateful if I have some direction in this regard.
Thanks in advance.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by