[Scilab-users] Hypermatrix manipulation

Serge Steer Serge.Steer at inria.fr
Mon Nov 16 21:43:26 CET 2015


Le 16/11/2015 18:39, petarf a écrit :
> Hi,
>
> Could anyone help with storing data from a hypermatrix( M(x,y,z,k) ) to a
> file. I would like to import this data to another software ( Gambit or
> Pointwise).
>
> Hypermatrix M consists only of numbers.
I do not know Gambit nor Pointwiseinput format,  but you can transform 
your hypermatrix to a 1D array using v=M(:) then write the vector and 
the dimensions in an ascii file using the mfprintf function....

Nb V=[M(1,1,1,1);M(2,1,1,1);...M(1,2,1,1);M(2,2,1,1);... M(1,1,2,1);....]
>   Thank you for your help.
> Best regards, Petar
>
>
>
> --
> View this message in context: http://mailinglists.scilab.org/Hypermatrix-manipulation-tp4033098.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>




More information about the users mailing list