Borrar filtros
Borrar filtros

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

2 visualizaciones (últimos 30 días)
Joaquim
Joaquim el 10 de Nov. de 2016
Comentada: Joaquim el 10 de Nov. de 2016
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?

Respuesta aceptada

B Mohandes
B Mohandes el 10 de Nov. de 2016
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 comentario
Joaquim
Joaquim el 10 de Nov. de 2016
Is there any alternative? My matrices are 288x288x400, so the matlab starts to crahs when I try to make the scatter plot.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Scatter Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by