How to freeze a particular column of matrix in a for loop?

1 次查看(过去 30 天)
Hi,
I am updating a matrix in a for loop. I want to freeze a particular column of this matrix, say column j, and update the rest of the matrix.
Any help would really be appreciated. Thanks.
  3 个评论
Mohammad
Mohammad 2018-3-26
Yes, that's exactly what I am doing now. I would have thought that maybe there exists an easier approach.
Geoff Hayes
Geoff Hayes 2018-3-27
I guess it all depends on how you are updating your matrix. Can you post a short example?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by