Removing Zeros from the Beginning of a Matrix
5 次查看(过去 30 天)
显示 更早的评论
Hi I am still fairly new to matlab and not very familiar with it yet. I was wondering how I could remove zeros from the beginning of my matrix.
i.e. A = [0 0 0 1 2 3 0 4 5] and removing the first zeros so that A becomes B where B = [1 2 3 0 4 5]
Thanks in advance for the help.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!