Matrix question

November 27 2009 by pirolafire 173
false
Maple

0


Hello,

I have a question about matrices in Maple.

 

I have defined the matrices s, x, y and z which are all 5x1 matrices. I have also defined a constant c

Now I want to define a 5x1 matrix, in which each element will be defined by a function:

csi - xi - yi - zi            (si, xi, yi and zi are the ith element of the s, x, y and z matrices, and not the matrces themselves)

 

For example, the first element of the new 5x1 matrix will have to be computed using the previous formula. If si=1, xi=2, yi=3, zi=4 and c=1,

then the first element of the new 5x1 matrix will be equal to  1*1 - 2 - 3 - 4... and so on for the other elements.

How do i do that?

 

Thank you very much

 

 
Loading Comments & Answers

You must be logged into your MaplePrimes account in order to post a comment. If you don't have an account, you can create an account here.

     

Forgot Your Password? Create an Account