Is there any way to convert the output of ToInert to a graph/tree representation? ToInert's output type is a function and I've tried converting it to an expression first but didn’t succeed. I've also looked for functions in the GraphTheory package that could help in this process but didn’t manage to find anything useful.Thank you.

writedata("C:\\duffy\\mapleprogramme\\relevant\\conditional optimal\\optimal3", css, float);> convert(css, matrix);

I used the above command to save data into a file but it didn't work. I also used the comand export (which would be better) to save data in one excel column, but it didn' work either, could you please help me understandig how can I save data? The data appear in the programme with this format:

Matrix(1, 1, {(1, 1) = .73951725}), Matrix(1, 1, {(1, 1...

I need to use subscripts to define a system of equation and its respective variables. I do not encounter any problem when I use solve or Basis (with Groebner package) but when I tried to use RealRootCounting (with RegularChains and SemiAlgebraicSetTools packages), I got the following error message:

Error, (in RegularChains:-SemiAlgebraicSetTools:-RealRootCounting) invalid input: TRDnearsolve expects its 5th argument, vlist, to be of type list(symbol), but received [p[1], x[1], q[1], u[1]]...

Hi, I use Maple 13 and have this issue to solve.

In an archive.txt there is the following Vector:

-1/64*cosdincl^2*cos(2*ele-2*g-2*anom-2*w)+1/16*sinfJ*cosfK*sindincl*cos(2*ele+g-h+om-2*anom-2*w)-1/16*sinfJ*sinfK*cosdincl*cos(2*ele-g-2*h+2*om-2*anom-2*w)+1/16*sinfJ*cosfK*sindincl*cos(2*ele-g-h+om-2*anom-2*w)-1/16*sinfJ*sinfK*cosdincl*cos(2*ele-g+2*h-2*om-2*anom-2*w)+1/16*sinfJ*cosfK*sindincl*cos(2*ele-g+h-om-2*anom-2*w)+1/128*cos(2*ele+2*g-2*h+2*om-2*anom-2*w)

Dear Users,

I would like to know how to convert the following bessel product into a polynomial form.

I have an experession as follows:

BesselI(1,p*x)*BesselK(0,p*x)+BesselI(0,p*x)*BesselK(1,p*x) #where p is arbitrary real positive constant and x is a variable

How to get the result in maple by simplify, convert or any other functoins.

Thanks for your attention.

Hi all,

A := [[1,2],[3,4]];

A1:=convert(A, Matrix);

I am very happy with conversion between Matrices and Vectors.

However, I does not seem to be able to do this backwards to [row] or [column] Vectors???

Say how do I get back to A from A1???

I tried to use

convert(A1,Vector);

convert(A1,Vector[row]);

convert(A1,Vector[row],2);

And many others...

Hello,

I am working on a project where Maple's output is fed to another software which requires all it's input in specific format. So, I want to print this expression,say

y=+2.*x+.2, in this software, but it takes input as

y=2*x+0.2, So now I have to change

+2. to 2.0 or 2 (if it's starting of the equation)

-2. to -2.0

.2 to 0.2

Is there any way to convert all the numbers in the equation to...

I am working on a Maple project and it require me to pass a differential equation in a specific order like

x'=y & y'=x^2.(It is differentaiting w.r.t 't'(say))

However when I convert the equation into string it converts something as

diff(x(t),t)=y(t) & diff(y(t),t)=x(t)^2

Is there any way to stop maple from evaluating into maple/math format?

Is there any way to pass an equation without changing it's existing form?...

i got two density, the part of it is similar the pattern of gamma, how to convert it into an expression of gamma times something?

test2 := x*Diff(P,x$2)+(a+1-x)*Diff(P,x)+mu*P=0;Density := int(exp(-X*(I*u-a*i))*(-i*X)^(-a), X = -infinity .. infinity);

test2 := x*Diff(P,x$2)+(a+b-x)*Diff(P,x)+mu*P=0;Density := int(-exp(-X*(I*u-a*i-b*i+i))*(-i*X)^(-a-b)*i*X, X = -infinity .. infinity);

x = a*(3*cos(t) - cos(3*t))y = a*(3*sin(t) - sin(3*t))

is there a library or function to convert above parametric equations into one equation in terms of x and y?

sys := x = a*(3*cos(t) - cos(3*t));k := solve(sys, t);simplify(subs(t=k[1], y = a*(3*sin(t) - sin(3*t))));

any simpler form?

hi,

is there a procedure to convert a number (or list of numbers) into its english equivalent?

eg

1 = "one", 2= "two", ......, 100 = "one hundred"

Dear Maple users

This may be an easy task, but I cannot seem to find out how to do it: How do I get the solutions of an equation on a list form? Let's say the output of the solve command has the reference number (1), then I tried using the convert command and a label to refer to the Maple output, but it didn't work:

convert((1),list)

I hope someone can help me do it.

Regards,

Erik

I have a vector containing data which is m*n long (ie from 1...(m*n)) and I want to convert it to a matrix of m columns and n rows.

What's the quickest and most efficient way in Maple to do this?

I wrote the following code but am stuck on how to Update prcLeastSquareLA, so it does what prcLeastSquare does.

I believe you have to add error estimate information in prcLeastSquareLA but I have tried to no avail.

prcLeastSquareLA:= proc(data,degree)local vars,y,A,V,k,e,i,j,v,c,1stVars;vars:= seq(ci, i=0..degree);y:=unapply(‘+’(seq(ci*t^j, i=0..degree)),t);for k

My result is complicated, ant it was very large, when I simplified the question, it just as this program.

The main problem is that result in YY is not in order, so the converted result is also disorder, please help me to store the result in order. Thank you!

You must be logged into your Facebook account in order to share via Facebook.

Click the button below to share this on Google+. A new window will open.

You must be logged in to your Twitter account in order to share. Click the button below to login (a new window will open.)

Please log-in to your MaplePrimes account.

Wrong Email/Password. Please try again.