mahmood1800

260 Reputation

8 Badges

10 years, 344 days

Social Networks and Content at Maplesoft.com

PH.D in Applied Mathematics

MaplePrimes Activity


These are questions asked by mahmood1800

Hi all,

Assume that we have a vector, namely v:=[1,-2,3,-4] and we want to construct special matrix namely Z, from Vector v as follow:

first row is 1, secnond row is -2,..., the end row is -4 namely
Matrix([[1,1,1,1],[-2,-2,-2,-2],[3,3,3,3],[-4,-4,-4,-4]]);

in the other word every row of matrix is 4 times corresponding componet in vector.(for example v is (1*4))

how can we do this?

best wishes

Mahmood   Dadkhah

Ph.D Candidate

Applied Mathematics Department

Hi all

Assume that we have following vectors:

> V1 := [1/9, -5/9, 7/9, 1/9, -5/9, 7/9, 1/9, -5/9, 7/9];

>  V2:=t*V1;

and we want to compute the integral of V2, namely:

>  Int(seq(V2[i],i=1..9),t=0..1);
>

            [       5 t  7 t         5 t  7 t         5 t  7 t]
      V2 := [t/9, - ---, ---, t/9, - ---, ---, t/9, - ---, ---]
            [        9    9           9    9           9    9 ]

Error, (in print/Int) invalid input: IntegrationTools:-GetOptions expects its 1st argument, v, to be of type Integral, but received Int(1/9*t,-5/9*t,7/9*t,1/9*t,-5/9*t,7/9*t,1/9*t,-5/9*t,7/9*t,t = 0 .. 1)

 how we integrate from V2? why answer is wrong in my code?

thanks a lot

Mahmood   Dadkhah

Ph.D Candidate

Applied Mathematics Department

Hi all

I have written the following code in maple to approximate arbitrary functions by hybrid of block-pulse and bernstein functions but it doesn't work properly especially for f(t)=1.0, so what is the matter?

bb1.mws

 


best wishes

Mahmood   Dadkhah

Ph.D Candidate

Applied Mathematics Department

Hi all

How can I produce following matrix by maple?

the order of matrix should be {N*(m+1)}*{N*(m+1)} where N is known constant

 

thanks for any guide

 

Mahmood   Dadkhah

Ph.D Candidate

Applied Mathematics Department

Hi Again

Assume that we have known matrix namely, Q, of order (m+1)*(m+1) and we want to construct following matrix

where 0(bar) is zero matrix of orde (m+1)*(m+1) and New matrix should be of order {N*(m+1)}*{N*(m+1)} where N is known constant.

thanks for any guide


Mahmood   Dadkhah

Ph.D Candidate

Applied Mathematics Department

3 4 5 6 7 8 Page 5 of 8