フィルターのクリア

Replacing a Column vector value

3 ビュー (過去 30 日間)
Raghavendra Reddy P
Raghavendra Reddy P 2016 年 8 月 30 日
I have a matrix x=[1 2 3; 4 5 6; 7 8 9]. i wanted to replace 3rd column of matrix by a scalor value of 10. new matrix should look like x=[1 2 10; 4 5 10; 7 8 10]

採用された回答

KSSV
KSSV 2016 年 8 月 30 日
  1 件のコメント
Raghavendra Reddy P
Raghavendra Reddy P 2016 年 8 月 30 日
sir thank you.. Actually its a small step but i got confused :)

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

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