Filter löschen
Filter löschen

how to chage/replace the one matrix value into another matrix value

1 Ansicht (letzte 30 Tage)
vasantha malairamar
vasantha malairamar am 23 Mär. 2017
Kommentiert: Jan am 23 Mär. 2017
for it=1:6144
cd(it)=cdt(it);
end

Antworten (1)

KSSV
KSSV am 23 Mär. 2017
  1 Kommentar
Jan
Jan am 23 Mär. 2017
+1 :-) Surpringly easy, but exhaustively correct.
Perhaps the question concerns a part of the matrix only. Then:
cd(1:6144) = cdt(1:6144);

Melden Sie sich an, um zu kommentieren.

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