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

조회 수: 1 (최근 30일)
Mohammad
Mohammad 2018년 3월 26일
댓글: Geoff Hayes 2018년 3월 27일
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에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by