Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
zephyr21
zephyr21 2016 年 6 月 24 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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