Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
Mohammad
Mohammad am 26 Mär. 2018
Kommentiert: Geoff Hayes am 27 Mär. 2018
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 Kommentare
Mohammad
Mohammad am 26 Mär. 2018
Yes, that's exactly what I am doing now. I would have thought that maybe there exists an easier approach.
Geoff Hayes
Geoff Hayes am 27 Mär. 2018
I guess it all depends on how you are updating your matrix. Can you post a short example?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by