How to add a value beginning of an array?

조회 수: 683 (최근 30일)
Ali Deniz
Ali Deniz . 2021년 11월 9일
댓글: Falah . 2023년 4월 11일
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.

채택된 답변

Image Analyst
Image Analyst 2021년 11월 9일
y25 = [0, y25];

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by