help-octave
[Top][All Lists]
Advanced

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

Re: howto matrixes containing e.g. vectors and matrixes and matrix opera


From: Jaroslav Hajek
Subject: Re: howto matrixes containing e.g. vectors and matrixes and matrix operations
Date: Sun, 1 Jun 2008 16:39:49 +0200

On Sun, Jun 1, 2008 at 2:39 PM, Schoeller Sebastian
<address@hidden> wrote:
> dear all,
>
> is it possible to create a multidimensional array, whereas a column may
> contain matrixes or vectors like e.g.
>
> ma =
>
> i11 i12=[1,2;3,4] i13=[1,2;3,4]
> i21 i22=[5,6;7,8] i23=[1,2;3,4]
> i31 i32=[9,2;3,4] i33=[1,2;3,4]
>

I'm not sure what exactly you mean. If you want each element of a 3x3
matrix to be a 2x2 matrix, you can use a 2x2x3x3 array. If you want
the elements to differ in size, you have to use cells.

> also i would like to be able to execute the operation
>
> ma(:,2)*ma(:,3)
>

and what exactly should it do?

> is that somehow possible? do i have to use cells instead? i cannot find
> any documentation on this subject easily, so i would be glad for a hint.
>
> best greetings
>
> sebastian
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>



-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



reply via email to

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