260 Reputation

8 Badges

6 years, 18 days

Social Networks and Content at

PH.D in Applied Mathematics

MaplePrimes Activity

These are replies submitted by mahmood1800

@Carl Love 

Thank you dear Carl
A is also a column vector and I have forgotten the "T" superscript.

A and H(t) can have finite number of elements(say, n).

@Rouben Rostamian  
thanks in advance

Thanks in advance

Thanks in advance



Sorry, i have not seen the "=" sign. ok. so we have the constraint as "A=B+C", and if we change it to "A-B-C=0", then we could have following:

> with(Optimization):
> with(plots):
>   obj := (c0-x)^2+(c1-(2/3)*x-(1/3)*y)^2+(c2-(1/3)*x-(2/3)*y)^2+(c3-y)^2;
>  cnsts := 32*x+19*y - 15*c0+18*c1+15*c2+3*c3;
>            Minimize(obj, {cnsts=0});
where we have 

      [0., [c0 = 0., c1 = 0., c2 = 0., c3 = 0., x = 0., y = 0.]]

but i am not sure that this is true.


Dear Kitonum
thanks in advance. the program is now works correctly. that is so great.
hope you the best.


Dear Kitonum
thanks in advance. But this reduce the same polynomials for all the subintervals. this is not true.
hope you the best

 thanks a lot

this is the corret code...

Best wishes



Hi and thanks,

My main problem is the procedure that produce the bn,m(t)'s correctly. The Fourier coefficient associated to the restriction of x(t) will be found under some constraints later.

@Thomas Richard 

Hi, thanks...I have corrected my question.

@Carl Love 


Thanks in advance.

I tried to run the above code but the following error was seen;

"Error, (in LinearAlgebra:-Transpose) invalid input: LinearAlgebra:-Transpose expects its 1st argument, A, to be of type {Matrix, Vector, scalar} but received Array(1..4, 0..2, [[...],[...],[...],[...]], datatype = anything)"


This is the exactly form which i need.

@Carl Love 

Thanks all in advance.

I have corrected the integral form.

Note that B(t) contains b_{i,j}(t)'s which are polynomilas. so is B(s), and my mean of integral is the correct form of  derivative and product to transpose  in piecewise functions.

@Rouben Rostamian  

Thanks a lot. it works great..

Thanks a lot for your nice comments

Please look to following example with same commands but true answer


 best wishes

Mahmood   Dadkhah

Ph.D Candidate

Applied Mathematics Department


Dear Acer,

Hi and so thanks for your nice and astute answer. That is the most correct answer for me and i am gareful of your guides.

Best wishes


1 2 3 4 5 Page 1 of 5