Plotting 3D- matrix values against other 3D-matrix values

조회 수: 4 (최근 30일)
Joaquim
Joaquim 2016년 11월 10일
댓글: Joaquim 2016년 11월 10일
Hi! I have two 3D matrices with the same size, x and y. I want to plot the values of y against the values of x. How can I do it?

채택된 답변

B Mohandes
B Mohandes 2016년 11월 10일
you don't care about the fact that the matrices are 3D or not. you might as well convert the matrices to a vector, as long as you're plotting each point in x against each point in y. hence: plot(x(:),y(:)); %should do the trick
------------------------- prayers for syria
  댓글 수: 1
Joaquim
Joaquim 2016년 11월 10일
Is there any alternative? My matrices are 288x288x400, so the matlab starts to crahs when I try to make the scatter plot.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by