Assignment has more non-singleton rhs dimensions than non-singleton subscripts
1 次查看(过去 30 天)
显示 更早的评论
I am getting this error while I am running a function, I am aware that a few instances like this might happen in the function. Is there a way that if this error occurs,then the function will move to the next iteration and have a Nan at the corresponding index where the error occurs.
Context: Basically In the function instead of returning one value the function at certain indexes return three values.So if this case occurs then I want the index to be replaced by a Nan, and later interpolate with the existing values
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!