Items tagged with convert convert Tagged Items Feed

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...

Hello,

 

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!

I need to write a recursive method to reverse a string.

The hint given is to convert the string inputed to a character sequence, then apply recursive method, then reverse character sequence, then convert back to  string and output it.

So "abcd" gives output "dcba"

 

I came up with what is below, but I don't know if that's a recursive method.

 

>with(StringTools):

>Reverse("abcd")

        "dcba"

Sorry, this seems like a silly question. But is there an easy way to convert trig funcitons, or even non trig functions to orthogonal (in this case Legendre) polynomials? 

In matlab, a function is returned a structure H, say H.a, H.b, ...

In maple, I want to call this matlab function, but what returned to maple is a Record:

 

Hs:= getvar("H");

Hs:= Record(a=..., b=..., ...);

 

So how can I convert this record to a normal maple array? so I can access to each element by Hs[1]. 

 

Thank you

Kyle

with(SumTools):
He := sum(((-1)^k)*n!/(k!*(n-2*k)!*2^k)*x^(n-2*k), k=0..n/2);
Gen := simplify(sum(He*z^n/n!, n=0..infinity));

convert(Gen, ratpoly);

2 3 4 5 6 7 8 Last Page 4 of 37