## 110 Reputation

12 years, 241 days

## @Jarekkk Thank you very much. =D...

@Jarekkk Thank you very much. =D

## @Jarekkk Thank you very much. =D...

@Jarekkk Thank you very much. =D

## thank you very much. it is very useful...

thank you very much. it is very useful

## thank you very much. it is very useful...

thank you very much. it is very useful

## 1x3 matrix...

Hi, similar to the above example, I now have a 1x3 matrix. For example, I have A:=Matrix([1,4,1]). I want an output of [1,4,2,4,2,4,2,4,2,4,2,4,1]

E11M:=Matrix([1,13]):

for i from 1 to 6 do
nod:=(2*(i-1))+1;
E11M[nod..nod+2]:=E11
end do:

E11M

## 1x3 matrix...

Hi, similar to the above example, I now have a 1x3 matrix. For example, I have A:=Matrix([1,4,1]). I want an output of [1,4,2,4,2,4,2,4,2,4,2,4,1]

E11M:=Matrix([1,13]):

for i from 1 to 6 do
nod:=(2*(i-1))+1;
E11M[nod..nod+2]:=E11
end do:

E11M

## Can't get it on the big matrix...

Hi, Thanks for your response, Below is what I have. But if I change elenum to elenum:=Array([2,4,6,8,16]). Other changes that I made was in E0:= evalf(map(c->c*((map(int,((B1^%T).(B1).J), xi=0..1))),L)) and I also changed E2.

I cannot work out the big matrix to get E0M and E2M. Could you please help me out. Thanks

 (1)

 (3)

 (4)

## Can't get it on the big matrix...

Hi, Thanks for your response, Below is what I have. But if I change elenum to elenum:=Array([2,4,6,8,16]). Other changes that I made was in E0:= evalf(map(c->c*((map(int,((B1^%T).(B1).J), xi=0..1))),L)) and I also changed E2.

I cannot work out the big matrix to get E0M and E2M. Could you please help me out. Thanks

 (1)

 (3)

 (4)

## multiply array to a matrix...

Thanks.

Hi, I have a array with 5 numbers in it. I would like to multiply it into a 3x3 matrix, how do i do that?

for example A:=([3,5,7,9,15])

B:=Matrix([3x+4,2x-9,42],[8x+2,93x^2,6y],[5x/y,34y,32y^2])

how do i get 5 sets of output when i multiply it together? And can i get pick out each outpur as well? for example, I want the 3rd output which is the matrix multiply with 7, can I pick it out seperately if I wanted?

## multiply array to a matrix...

Thanks.

Hi, I have a array with 5 numbers in it. I would like to multiply it into a 3x3 matrix, how do i do that?

for example A:=([3,5,7,9,15])

B:=Matrix([3x+4,2x-9,42],[8x+2,93x^2,6y],[5x/y,34y,32y^2])

how do i get 5 sets of output when i multiply it together? And can i get pick out each outpur as well? for example, I want the 3rd output which is the matrix multiply with 7, can I pick it out seperately if I wanted?

## integrate each row...

Or if I have a 3x3 matrix, how can I integrate each row by a different term?

Thanks

## @Jarekkk Thank you much for your help. x...

@Jarekkk Thank you much for your help. xx

## @Jarekkk Thank you much for your help. x...

@Jarekkk Thank you much for your help. xx

## check working...

@acer

Hi Acer, I have written a worksheet that gives me correct answers. However, it seems very complicated and doesn't seem to be the right way to do it. I am using too many "map" and "zip" in it. I will be using and editting this worksheet for a couple more month. Is there a way that i can send it over to you someone to check and see if you can simplify or see what is it that i'm doing wrong.