Plotting a 6 Dimensional Array

9 visualizaciones (últimos 30 días)
Tanvir Ahmad
Tanvir Ahmad el 9 de En. de 2015
Comentada: geekyGiraffe el 21 de Jun. de 2017
I have a 6 dimensional array with each dimension have 17 elements. Now I want to plot this array but don't know how. Can anyone please suggest a method to plot this array
  3 comentarios
Tanvir Ahmad
Tanvir Ahmad el 10 de En. de 2015
Yes it is a 17*17*17*17*17*17 matrix. I am working on some wind energy problems. Each dimension represents one wind turbine. Then I add all these powers to get the total power. The problem is a complex one. Therefore, I have to plot all the combinations of powers and the find the maximum. I have the combinations in this 6-D array, now I have to plot it somehow and then use some technique to find the maxima.
This problem in the future would have more turbines - means more dimensions
geekyGiraffe
geekyGiraffe el 21 de Jun. de 2017
function plotm works for 6 dimensional data

Iniciar sesión para comentar.

Respuesta aceptada

Zoltán Csáti
Zoltán Csáti el 10 de En. de 2015
Plot like a multivariate function: by its level sets.
  5 comentarios
Zoltán Csáti
Zoltán Csáti el 14 de En. de 2015
It is quite ambiguous for me to deal with arrays of more than 3 dimensions. I suggest you to use a cell array instead, in which every cell would contain a matrix representing a wind turbine.
arich82
arich82 el 14 de En. de 2015
Try using the squeeze command:
mesh(x, y, squeeze(m(1,1,1,1,:,:)));

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D 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