combine two matrices and delete one column or row of a matrix in maxima
Subject: combine two matrices and delete one column or row of a matrix in maxima
From: Michele Minelli
Date: Sat, 02 Nov 2013 16:35:59 +0100
Hi,
you can take a look at the function 'submatrix' which deletes rows and
columns.
In order to extract a single row or column from a matrix you can use the
functions 'row' and 'col'.
Finally you can add a row or a column to a matrix with the functions
'addrow' and 'addcol'.
You should be able to do what you want by combining all these functions.
Hope this helps.
Best regards,
Michele
Il 02/11/2013 16:24, Jianrong Li ha scritto:
> Dear all,
>
> Could we combine two matrices and delete one column or row of a matrix
> in maxima? I need these operations in a function. Let m, n be two
> matrices with the same number of rows and whose number of columns are
> k and l respectively. I would like to form a new matrix c whose first
> k column is m and whose last l columns is n. Is there a function in
> maxima that can produce the matrix c?
>
> Let m be a matrix with arbitrary size. I would like produce a matrix c
> obtained from m by deleting the last s columns of m. Is there a
> function in maxima which can produce the matrix c? Thank you very much.
>
> Best wishes,
> Jianrong.
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima