|
The hack is:
reshape(Normalized_Moment_Values(1,1,:),1,3)
for instance ... probably a better solution exists!
"David Doria" <daviddoria@gmail.com> wrote in message
<fc1lm7$69g$1@fred.mathworks.com>...
> i have an array that i index with 3 numbers:
> ie.
> Normalized_Moment_Values(1, 1, 1) returns a double
>
> however, now i want everything with the first 2 index = [1
> 1], ie
>
> Normalized_Moment_Values(1, 1, :) - but this doesn't seem to
> be working, it is giving me
>
> Normalized_Moment_Values(1, 1, :)
>
> ans(:,:,1) =
>
> 1.0693
>
>
> ans(:,:,2) =
>
> 1.4594
>
>
> ans(:,:,3) =
>
> -0.5926
>
> instead of a normal 1d vector
>
> what do i do?
>
> Thanks
>
> David
|