help-octave
[Top][All Lists]
Advanced

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

Re: reducing dimensionality


From: Juan Pablo Carbajal
Subject: Re: reducing dimensionality
Date: Sun, 23 Sep 2012 23:17:42 +0200

On Sun, Sep 23, 2012 at 11:11 PM, Jon Feldman <address@hidden> wrote:
>
> I have a 1000x10x89 size matrix S, which is really just
> 1000   10x89 matrices.  I want to be able to retrieve
> one of these matrices, so I tried
>
> R = S(1,:,:) where I would like R to have the dimensions
> 10x89, but it has dimensions 1x10x89.  How do I fix
> this?
>
> Thanks
>
>
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave

R = squeeze(S(1,:,:))

-- 
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
http://ailab.ifi.uzh.ch/carbajal/


reply via email to

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