Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Is there a way to reference several coordinates for a specific dimension inside of a matrix?

조회 수: 1 (최근 30일)
I have a matrix that I'm using to reference values from. 3 of the columns refer to i,j,and k. I have several equations in loops that refer to this matrix. I only want specific points for i and j but layers 2 through 4 for k. How can I make this happen for my equations. Ive posted a link to pastebin to see the code. http://pastebin.com/Np0sQihU

답변 (1개)

Walter Roberson
Walter Roberson 2016년 6월 24일
Generally speaking
YourMatrix(i, j, 2:4)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by