Clear Filters
Clear Filters

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

1 view (last 30 days)
for it=1:6144
cd(it)=cdt(it);
end

Answers (1)

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

Sign in to comment.

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!