Hi everybody:
Some tiem ago I tried to assemble a matrix, but I only encounter the augment command, How can I to stack matrixes?
I appreciate some help.
Regards
Carlos Villase?or
*************************************************************************
Thanks for your answer!
Well, when I say stacking matrixes I mean that should exist a function thst "stacks" as supporting "augment" function, with the augment function we put a matrix A2 [m x n] aside A1 [m x n], a stack funtion should puts the matrix A2 [m x n] below A1 [m x n]. Executing a line like [[1,2],[3,4]] => A, only stacks vectors not matrixes or not?
?Does exists some function that make that in the Classpad? I hope so...
Thanks in advance.
Regards
Carlos Villase?or M.
Stack Matrixes In Classpad
Started by
cvmdiseno
, Mar 07 2006 07:23 AM
4 replies to this topic
#1
Posted 07 March 2006 - 07:23 AM
#2
Posted 07 March 2006 - 01:56 PM
Please describe clearer. By "stacking" and "assembling" matrices, you mean saving them? You can define a matrix and save it to the variable 'x' this way:
[[1 2][3 4]] => x
(Instead of "=>" put the ClassPad's arrow found in the first row of mth keypad.)
[[1 2][3 4]] => x
(Instead of "=>" put the ClassPad's arrow found in the first row of mth keypad.)
#3
Posted 07 March 2006 - 02:48 PM
you can also use fill(value, lines, cols), it returns a lines * cols matrix filled with value
#4
Posted 08 March 2006 - 05:06 AM
Thanks for your answer!
Well, when I say stacking matrixes I mean that should exist a function thst "stacks" as supporting "augment" function, with the augment function we put a matrix A2 [m x n] aside A1 [m x n], a stack funtion should puts the matrix A2 [m x n] below A1 [m x n]. Executing a line like [[1,2],[3,4]] => A, only stacks vectors not matrixes or not?
?Does exists some function that make that in the Classpad? I hope so...
Thanks in advance.
Regards
Carlos Villase?or M.
Well, when I say stacking matrixes I mean that should exist a function thst "stacks" as supporting "augment" function, with the augment function we put a matrix A2 [m x n] aside A1 [m x n], a stack funtion should puts the matrix A2 [m x n] below A1 [m x n]. Executing a line like [[1,2],[3,4]] => A, only stacks vectors not matrixes or not?
?Does exists some function that make that in the Classpad? I hope so...
Thanks in advance.
Regards
Carlos Villase?or M.
#5
Posted 08 March 2006 - 09:28 PM
I don't think there is such function, but you can put A2' aside A1' (' = transpose) and the transpose the result.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users