MATLAB Answers

How to import a 3D Python numpy array into Matlab ?

조회 수: 530(최근 30일)
Dimitri Lepoutre
Dimitri Lepoutre 15 May 2019
답변: gonzalo Mier 15 May 2019
Hello,
I am new to MATLAB as it appears as though Python does not allow to represent four-dimensional data as shown here: https://fr.mathworks.com/help/matlab/visualize/visualizing-four-dimensional-data.html
I have a (10,20,20) numpy array on Python (each value T[x,y,z] is the temperature value of a volume.
(Basically slices of data that look like this)
How can I:
  • Export this array to a MATLAB compatible format
  • Import it into MATLAB
  • And visualize it as shown below:
Thank you in advance for your answer,

  댓글 수: 0

Sign in to comment.

제품


릴리스

R2019a

Translated by