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

1 次查看(过去 30 天)
for it=1:6144
cd(it)=cdt(it);
end

回答(1 个)

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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by