How to create array xy corresponding z
Ältere Kommentare anzeigen
Hello
I have a problem with array. Now, I have xy, that is 640x480. Then I know the values of each z, that is 480 values correspoding to y axis.
I would like to ask that how can I make XYZ array.
I try to use cat already. But it is 640x480x2 (xyz) that is 2 pages, that the first page is 640x480 and the second page is z values. I don't know I can link the first page with the second page or not.
If you have an idea, please suggest to me.
Thank you so much
2 Kommentare
madhan ravi
am 11 Jul. 2020
So x has 680 and y has 480 elements , correct?
SP
am 11 Jul. 2020
Antworten (1)
madhan ravi
am 11 Jul. 2020
xyz = {x(:), y(:), z(:)}
3 Kommentare
SP
am 11 Jul. 2020
madhan ravi
am 11 Jul. 2020
If you could illustrate aiding a 2X2X2 matrix and state explicitly how it should look like, would be better.
SP
am 11 Jul. 2020
Kategorien
Mehr zu Matrix Indexing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
