Filter löschen
Filter löschen

Replacing a Column vector value

3 Ansichten (letzte 30 Tage)
Raghavendra Reddy P
Raghavendra Reddy P am 30 Aug. 2016
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]

Akzeptierte Antwort

KSSV
KSSV am 30 Aug. 2016
  1 Kommentar
Raghavendra Reddy P
Raghavendra Reddy P am 30 Aug. 2016
sir thank you.. Actually its a small step but i got confused :)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by