Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
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

Antworten (1)

Walter Roberson
Walter Roberson am 24 Jun. 2016
Generally speaking
YourMatrix(i, j, 2:4)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by