help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cell array of matrices -> N-d array?


From: Jordi Gutiérrez Hermoso
Subject: Re: cell array of matrices -> N-d array?
Date: Wed, 9 May 2012 13:20:58 -0400

On 9 May 2012 12:42, Dan Muresan <address@hidden> wrote:
> Hi,
>
> is there an efficient (loop-less) way to convert from an
>
> NxN cell array of 3x3 matrices
>
> to an
>
> NxNx3x3
>
> N-dimensional array?

Try,

    resize(cell2mat(c), [n,n,3,3])

HTH,
- Jordi G. H.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]