what does the meaning of this?
2 次查看(过去 30 天)
显示 更早的评论
hello sir i am having one matlab code but i did not understand the meaning of this line "t(:,:)=t(:,:)+uint8(t(:,:)<1)".can anybody tell me the meaning of this line. thanking You
0 个评论
采纳的回答
Daniel Shub
2011-11-30
It is basically:
t = t+1 for t < 1
t = t otherwise
A clear way to write it might be
t(t < 1) = t(t < 1)+1;
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!