print values of array greater than 0
17 次查看(过去 30 天)
显示 更早的评论
Hello,
I am trying to sort/split an arrray into another array. For my application, I need to replace the array's 0s with either an empty space ' ' or simply continues to print the array out in table format and leave the 0s blank. I've been banging my head on the table for an hour now trying to find a function/print/slice/sort combination that will do this. Any help is greatly appreciated.
Thank You,
0 个评论
采纳的回答
madhan ravi
2020-7-26
Just use > to find values greater than 0.
doc >
Hope you’re not bleeding :(
4 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!