Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

 

how to covert function to expression???

View 8710_ZZZ.mw on MapleNet or Download 8710_ZZZ.mw
View file details

What are those 'Z' s represent?[File is attached]

hi all....how to find pseudo inverse in maple...like the one 'pinv' in matlab.

is there any command to generate identity matrix,zero matrix

thanks

It's been a while since I've updated my blog, but the recent Maple 12 release gives me a good opportunity to talk about some of the features I'd been working on for the past months. A few people on MaplePrimes had asked for more details about Maple 12, so I'll start by saying a bit about the new polar axes. A lot of this work was done by my colleagues in the GUI Group and they may have additional interesting things to say about the feature.

In previous versions of Maple, you could draw polar plots using the plots[polarplot] command or with the coords=polar option, but these were always displayed with Cartesian axes. In Maple 12, polar axes are displayed by default, as seen here.

plots[polarplot](1+cos(theta), theta=0..2*Pi, axis[radial]=[tickmarks=5])

plots[polarplot](1+cos(theta), theta=0..2*Pi, axis[radial]=[tickmarks=5])

 A number of new options were added to the polarplot command so that you can customize the axes.  The most useful ones are the axis[radial] and axis[angular] options. These work like the axis[1], axis[2] and axis[3] options available for general plots, and you can use them to control color, tickmarks and other properties of the radial and angular axes.

Typeset math on plots had been introduced in Maple 11, and now we can take advantage of this with nice axis labels, in multiples of Pi, on the angular axis. These labels appear by default, but of course, they can be customized with the axis options. The plot/typesetting help page provides information on how to add typeset math to plots through the command line. There are also interactive ways to do this, using the context menu.

You can add polar axes to plots created by commands other than plots[polarplot], by using the axiscoordinates=polar option. However, not all the options offered by plots[polarplot] are available generally. Here is an example using plots[implicitplot].

plots[implicitplot]([x^2+2*y^2 = 1, x^2+1.5*y^2 = 1], color = ["Blue", "Green"], x = -1 .. 1, y = -1 .. 1, axiscoordinates = polar);

plots[implicitplot]([x^2+2*y^2 = 1, x^2+1.5*y^2 = 1], color = ["Blue", "Green"], x = -1 .. 1, y = -1 .. 1, axiscoordinates = polar)

It is also possible to get the pre-Maple 12 Cartesian axes back with polar plots, by adding the axiscoordinates=cartesian option.

How do I define a distribution with an arbitrary mass function so it can be used exactly like those predifined, e.g., Statistics:-Mean(Poisson(lambda), Statistics:-MGF(Poisson(lambda),t), etc? As an example, Rademacher distribution can be used, or its straighforward generalization with probability of +1 being equal to p and that of -1 equal to 1-p=q. Thanks.

hi all...i want to write a procedure just to execute a set of maple commands without any input args e.g do some calc and plot series of graphs..i am facing 2 problems

1.inside procedure all lines are not  displayd only last line of command inside the proc is diplayed after execution

2.im choosing a proc to exec a series of commands because i can use the debugger to debug the set of codes else i cannot.

I would like to change the way arrows looking Maple under fieldplot3d. Particularly I would like them to have a rounded head and a simple stick for the base of the arrow. Anyone know how to do this? I have seen it done before, just not sure how to implement the code to do it. Thanks in advance!

I'm using maple to optimize a certain problem. I have two matrices, A and B both of size m by n. Now I want to maximize alpha(a scalar) such that Bx>=alpha*Ax for arbitrary x. So I gave maple the following problem: input:=evalm(A&*X): > output:=evalm(B&*X): > for i from 1 to m do > constraint[i]:=output[i]-alpha*input[i]>=0; > od: > Constraints:=seq(constraint[i],i=1..m); > sumconstraint:=add(x[i],i=1..n)>=10; oplos:=NLPSolve(alpha,{Constraints,somconstraint},maximize=true,assume=nonnegative); My problem is that maple sometimes can't come up with an answer and tells me:

Given "(x + y/z)" as input, how do I get the same expression in the form of "(xz+ y)/z". I need to make this conversion, so that I can discard  the denominator and use the numerator "xz +y" as a monomial in Groebner Basis.

Does Maplesoft has an online version of Maple's user manuals? I know there are pdf versions. Thanks!

Hi:

I will really appreciate it if I can get some help with evaluating 2500(1+ r/4)^(4*5) with r taking multiples values such as 6, 10 etc.

So far I am aware of the basic eval command... eval(2500(1+r/4)^(4*5),r=6). What I want to do is evaluate this expression for multiple values of r. Thanks in advance!!

 

-- k

I'm trying to graph nonlinear systems of inequalities.  INEQUAL works only with linear systems.  Someone in this forum suggested IMPLICITPLOT with the option FILLED = TRUE, but this doesn't always give the desired results since that option only gives the area between the curve and the x-axis a solid color.  What I need is the power of OPTIONSFEASIBLE, OPTIONSEXCLUDED, OPTIONSOPEN, and OPTIONSCLOSED (options available with INEQUAL) that will work with nonlinear inequalities.
 

Alla

Hello,

I use Maple 11 and I created a procedure (call it MyProcedure), which ends

> display([seq(r||Index, Index=1..NumberOfIterations)],insequence=true);

Futhermore I have a maplet with

> Plotter['PL1']()

and

> Button['BT1']("Draw", width=90, onclick=Evaluate('PL1'=MyProcedure(.....)))

This works ok. Result is displayed in the plotter. However I would like to add other buttons, which will work with this animation. I mean to use functions like Play, Stop, Next Frame, etc. How can I do this?

First 1988 1989 1990 1991 1992 1993 1994 Last Page 1990 of 2176