How to add a value beginning of an array?
580 次查看(过去 30 天)
显示 更早的评论
y25=[1.875000000000000,3.046875000026040]
How can I add 0 (zero) to the beginning of this array?
I want to get the array y25=[0,1.875000000000000,3.046875000026040]
Thank You.
1 个评论
Stephen23
2023-12-15
Open question: is there a neat approach irrespective of the vector orientation?
采纳的回答
Image Analyst
2021-11-9
编辑:Image Analyst
2023-12-13
y25 = [0, y25];
To learn other fundamental concepts, invest 2 hours of your time here:
更多回答(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!