How do i transfer contents from one variable to another?

1 回表示 (過去 30 日間)
Bazil Faisal
Bazil Faisal 2022 年 7 月 5 日
コメント済み: Karim 2022 年 7 月 5 日
Hi!
Would like to get help.
How do i transfer the contents of variable H to K1?
Variable H contains/is a matrix of size 1x5913.
Thank You!
  1 件のコメント
Karim
Karim 2022 年 7 月 5 日
what do you mean with "transfer the content"? Do you want K1 to have the same data as H?
In that case you can simply do
K1 = H;

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

採用された回答

Abderrahim. B
Abderrahim. B 2022 年 7 月 5 日
K1 = 2 ;
H = 1:5913 ;
K1 = H
K1 = 1×5913
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by