Modify matrix, row vector
6 次查看(过去 30 天)
显示 更早的评论
I have 3 row vectors, which is defined as y1, y2 and y3. Their dimension is 1*166500. For y1, I want the first value to be zero, for y2, I want first 500 numbers to be zero and for y3, I want first 501 values to be zero, how do I do this? Thanks you!
回答(1 个)
另请参阅
类别
在 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!