MaplePrimes Questions

<p>Once I have defined a complicated expression, and then I realize that the variable x should have initially been named r , can I change x into r in such a way that when i view the expression, it is expressed in terms of r rather than x ?? Without going back and changing EVERY x into an r ??  If i do r=x or x=r and then view the expression it still displays everything in terms of x rather than r.</p>
<p>Also, maple's fortran code generator renames my variables s~ ,t~ and g~ into c1,c2 and c3,  </p>
<p>can I customize what it renames them as ??</p>
I was exploring the Optimization package through Maple Help to find a solver that would be capable handling the task of minimizing an a set of otherwise linear equations that contains an absolute value term. Any suggestions?

 

Hi how do I de-assign a variable? Say I have put A:= 3 sin(x)+2 And find that opps it should have been cos(x), not sin(x).
:-)
Gustav

how can I make a recursive loop to automate Getting a dimension from sevral sketches in one part?
in my solidpart i have 20  identical sketches each has a dimension called cord and  name fan  but numbered from 1 to 20   like cord@fan1@PART.PAT,
cord@fan2
@part.part
I tried to create a loop to read these dimensions from the part in the following method but it did not work.
for  i  from 1 to 20 do

hi,

i'm lookin forward for a latest algorithm in artificail intelligence so that i cld take seminar at my college,cld u help me?

Hi!

I make an animation in Maple, and save it as an HTML file.

When the animation shows on the web, it runs one time, and then starts again.
And it continues to run over and over again.

How do I program it to only run one time and then stop showing the function.

Yours sincearly

John

Greetings All

I have a module written in mathematica that works but would prefer to use it as a maple 12 procedure.  I tired the MMA in maple but it doesn't convert programs.  Can someone please help out.

 

 I want to use the Graph theory Draw a graph(networks) with 70 vertex, but the arrow of edges is always near  the beging point of arc, which lead to the arrow can't  be seen clearly, I want to change the sytle of edges by changing the arrow position , but I don't find a correct method.

I submit this question a weeks ago ? But no one answer me?  Is there anyone can help me ?Thank you very much!  

Hi

I'm currently doing some proof of concept implementation of what comes closest to be described as "network flow" problem inside Maple. The current applicability is limited to one source and one sink, flows are not interesting, meaning the edge-costs are all equally set to 1. The chosen vector-based representation for a simple network (adjacency matrix)

 

  S 1 2 E
S 0 1 1 0
1 0 0 0 1
2 0 0 0 1
E 0 0 0 0

is as follows:

MM := [[2], S, [[1, 2], [[], 1], [[], 2]], E]

 

Lets say I have a simple animation such as the code below.

 

restart;
with(plots): 

p := [seq([x, 30*x-x^2], x = 0 .. 30)]: 

An := proc (x)

pointplot(p[round(x)], axes = box, color = red, symbol = solidcircle, symbolsize = 30)

end proc:

animate(An, [x], x = 1 .. nops(p), frames = nops(p), trace = nops(p)) ;

 

 

Now I want a Button (Embedded Component) to start this animation. How can this be done ?

 

I want to be able to assign an external jpg image to a variable in Maple and then assign that varaible to the background command

in animate. In other words I want to display an animation on top of an external jpg image.

 

I know how to view an external image in a maplet

restart; with(ImageTools); A := Read("..........jpg"); View(A)

 

I also know how to preview an external JPG image

plots[display](ImageTools:-Preview(ImageTools:-Read("...........jpg")), axes = none)

 

Download 4171_BioBased.zip
View file details

I've got an XML file from someone, which contains some data from a network. First a list of all the nodes and then a list of all edges.

I would like to read this data in Maple to define a Graph, but I don't know how to do that. Could you please help me?

I added the file as a zip (because XML is not allowed). I hope that that is clear.

Hello

I'd like to perform following operation as gracefully and computationally inexpensive as possible:

b := [[2, 3], 1, 2, 3, 4, 5]
c := b[2 .. nops(b)]
c[b[1, 1]] := c[b[1, 2]]
c := ListTools:-MakeUnique(c)
c[b[1, 1]] := max(c) + 1;

b[1] always contains a list of two consecutive indices which should be combined into one element of the list and having assigned the largest integer in the list. In the about example:

Hi All,

I cannot transfer variables from Matlab to Maple as shown in the demonstration video for Maple toolbox for Matlab.

Here is what I did:

I run the Matlab using: matlab-sym-maple.bat
and checked that it is using the maple (not the symbolic toolbox version):
toolbox_version maple

open my maple 13, do
version()
got: User Interface, Kernel, Library, Maple Toolbox for MATLAB: 397624

back in Matlab:
>> syms x y
>> g=int('sin(x*y)^2*x',x)
>> setmaple('G',g)

I got a rumor, something about Maple showing the steps that does when solving something. Anyone knows what do I have to do so Maple would show me the steps? It would be great if someone knows how to do it.
First 2116 2117 2118 2119 2120 2121 2122 Last Page 2118 of 2428