Adding lines and columns

3 ビュー (過去 30 日間)
Jah-lahfui
Jah-lahfui 2015 年 1 月 7 日
コメント済み: Jah-lahfui 2015 年 1 月 7 日
Hello, i have a matrix W (418*413) in the borders i have zeros, i mean in (1,:), (:,1),(:,413),(418,:) they are equal to zero and on the inside off the matrix i have values. What i need to do is, copy all the valeus from line 2 till line 417 from colummn 3 and put it on colummn 1 in the matrix W.
Thanks in advance

採用された回答

Amit
Amit 2015 年 1 月 7 日
W(2:417,1) = W(2:417,3);
  1 件のコメント
Jah-lahfui
Jah-lahfui 2015 年 1 月 7 日
Thanks a lot i wasn't seeing the answer and it so damn easy

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

その他の回答 (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