How to create array xy corresponding z
조회 수: 3 (최근 30일)
이전 댓글 표시
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
답변 (1개)
madhan ravi
2020년 7월 11일
xyz = {x(:), y(:), z(:)}
댓글 수: 3
madhan ravi
2020년 7월 11일
If you could illustrate aiding a 2X2X2 matrix and state explicitly how it should look like, would be better.
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!