How to add a value beginning of an array?
조회 수: 449 (최근 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:
댓글 수: 3
추가 답변 (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!