Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Further tags : implicit form, Matlab codegen for GPOPS purposes

Hi there,

I would like to introduce my self and ask you for an advice. 

I have a four linked robot that i would really like to control by the meaning of the optimal control theory. The arm has 4 actuators (giving torques U) in corrispondence of 4 rotational joints. P parameters describe the system.

I got ht edynamic system with the Lagrangian method and now I have 4 2nd order...

So currently i am trying to programm a game. for that i would need a Textbox that is updating once the player makes an input. I have a textbox TB1 and a button with the action linked. the action that the button should make is calling an external procedure which in turn updates the textbox. But i currently i keep getting the following error expresion:

Error, (in Maplets:-Tools:-Set) invalid argument(s): [TB1]::string = [7, 8, 9]

So what die i do wrong.

I got this error message while attempting to compute Inverse matrix of symbolic function. 

Error, (in Normalizer) unable to allocate enough memory, computation aborted

I have managed to download data for Nasdaq, NYSE and Amex in Maple. However,
my problem is how do I store the data in a txt file on my desktop in the most optimal way.
I want an mpl file so I can schedul the task manager to run the file each day in the background.
This is as far as I have come:

restart:
with(StringTools):
with(LinearAlgebra):

CSV := proc (Url) local theDLL, URLDownloadToFile, myDirectory, myFile, Destination, DL;

theDLL...

Hello

    IS THERE ANY MAPLE CODE FOR SOLVING SYSTEMS OF ODEs using IMPLICIT RUNGE KUTTA SUCH AS LOBATTOIIIA,LOBATTOIIIB and LOBATTOIIIC.THANKS

I have a polynomial system that I'd like to find ONE solution of (there may be many, so I want the program to terminate after 1 is found, since I only need to know that there IS a solution). In this system, the unknown variables are a_i, b_i, c_i, d_i, s_i, t_i, r_i, l_i, for i = 1, 2, 3, 4. Thus I want the solution in terms of these variables. The system is given below.

\begin{align*}
q & = \sum_{i = 1}^4 a_i s_i, \\
w & = \sum_{i = 1}^4 a_i t_i, \\

Hallo Guys,

This questions was asked 7 years ago and I hope now there is some knowldege how to do it ( else Maple sucks that in 7 years they havent figured out it yet ) ...

So basically How do you change the inline plot size window in the worksheet itself by command line ( For Noobs please do not show off your "Skills" by saying that you can do it b Mouse : I know that much else wont be here :P  and those who want to tell me how to do it in a jpeg/etc also Shut up ! ...

Hello,

I am trying to obtain an inverse of a symbolical 4 by 4 matrix in order to diagonalize it. I have noticed that the command 'Inverse' seems to find a matrix inverse almost instantaneously, whereas the Matrix Inverse command from the Linear Algebra package takes far longer - on the order of hours. Can anyone explain the difference between them? It seems like 'Inverse' is roughly speaking, an approximation to 'Matrix Inverse', however I have not been able to find...

I'm using Maple to come up with equations, and then I'm substituting in variable names for functions which I can then output to Matlab.

I haven't had any problems until I ran into partial derivates described by the D[] operator.  For example, if i have a function f described by f(x(t),y(t)) and I differentiate it wrt t, I get 

D[1](f)(x(t),y(t))*(x(t)_dot) + D[2](f)(x(t),y(t))*(y(t)_dot)

I want to make a substitution for D[1](f)(x(t),y(t)) and D[2...

Hi,

     I have a a matrix with one symbol and all others are numbers. I got this from doing 

   M := (1-x)*N + x*A :

 So my parameter is x, and N, A are numeric (real, symmetric) matricies. I want to plot the eigenvalues as x=0..1, but for a large matrix, say 25x25. Eigenvalues(M) only returns 17 eigenvalues, and more so, it doesnt keep them in the same order when plotting!

My issue is when Maple computes the...

https://en.wikipedia.org/wiki/Coproduct

would like to do a sheaf which is a mapping from subset of prime ideal to coproduct of ring Ap where p belong to Prime ideal of A

Hi,

I have two general 4x4 matrices S and R subject to the given contraints (eq1, eq2, respectively). First of all, I was trying

to see if there are any specific matrices T such that the equation S.R=T (subject to the constraints of eq1 and eq2)

does NOT exist (i.e. there are no matrices S and R such that the equation holds). I tried many examples but couldn't find

any so now I suspect that any possible T has a solution.

So firstly, I...

Hello,

I like to plot the Bode diagram of function transfer. For that purpose, i use Dynamicsystem package.

I obtain my transfer function by 2 different methods : 
- direct method
- state space method.

The issue is the fact that i don't obtain the same results with the 2 methods.

 state_space_metho.pdf

restart;with(Statistics):

MartinPoisson := (p/((p+2*q*T)/(1+p*T+q*T^2)-(p*T+q*T^2)*(p+2*q*T)/(1+p*T+q*T^2)^2))^r*r^2*T^n/factorial(n);

Dist := subs(T=t,MartinPoisson) assuming t > 0;

MartinDist := Distribution(CDF = unapply(piecewise(t>1,Dist,0),t));

MartinDist := Distribution(CDF = unapply(Dist, t)) assuming t > 0; #Change 2

X:=RandomVariable(MartinDist);

MartinDensity := PDF(X,t);

MartinDensity := subs(t=x, MartinDensity);

First 214 215 216 217 218 219 220 Last Page 216 of 2097