フィルターのクリア

How to add a value beginning of an array?

446 ビュー (過去 30 日間)
Ali Deniz
Ali Deniz 2021 年 11 月 9 日
コメント済み: Stephen23 2023 年 12 月 15 日
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
Stephen23 2023 年 12 月 15 日
Open question: is there a neat approach irrespective of the vector orientation?

サインインしてコメントする。

採用された回答

Image Analyst
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 件のコメント
Falah
Falah 2023 年 4 月 11 日
thank you
LIM BOON XUAN
LIM BOON XUAN 2023 年 12 月 13 日
thank you

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by