Product Tips & Techniques

Tips and Tricks on how to get the most about Maple and MapleSim
I thought I would take up a little time to write about some of the new plotting features in Maple 11. This post will give an overview of what is in Maple 11 plotting - subsequent posts will give more details on the individual features. Let's look at each of the features mentioned on the plotting enhancements page. All of these are only for 2-D plots.
Hello, I would like to use Maple in Statistics, but I have a problem with a speed of base functions, like generation, Mean, Range and Standard deviation. Maple computes slowly than MathCad. I have 4 test functions: Test of generation speed > restart: > > Digits :=10: > > test3:=proc(N,n) > local i,a,X; > use Statistics in > X := RandomVariable(Normal(0,1)): > for i from 1 to N do > a:=Sample(X,n): > end do: > end use; > end proc: > time(test3(30000,100)); Test of Mean speed > restart: > Digits :=10;
Hello, I need to create a picture in eps format to use it in LaTex Document. I use plotsetup to create it but the output is not worked corretly. In Maple 8 it workes. plotsetup(ps,plotoutput=`plot.ps`,plotoptions=`portrait,noborder`); and then I use some plot command. I am not able to compile the maple output in LaTexPdf. I try to open it in CorelDraw and it is opened, but I am not able to work with it like I am able with Maple 8 output. Why? Is it different format of eps? Could you help me please? How could I create eps file to use in LaTeX? Thank you very much. Vladimir
Hello, I would like to use Maple instead of Matlab, well I rewrite the Matlab code to Maple like following. The output is correct, but it spends more time than in Matlab. Is it possible to rewrite my Maple code to get output faster? restart: linearni_model:=proc(beta,sigma) local n1,n2,Y,X,Y1,Y2,se,se2,t1,t2,t3,t4,vbeta,t,si2,e1,e2,e3,e4,Yp,N,s2,n; use Statistics in X:=Matrix([[1, 1, 1, 1, 1], [1, 1, 1, 1, -1], [1, 1, 1, -1, 1], [1, 1, 1, -1, -1], [1, 1, -1, 1, 1], [1, 1, -1, 1, -1], [1, 1, -1, -1, 1], [1, 1, -1, -1, -1], [1, -1, 1, 1, 1], [1, -1, 1, 1, -1], [1, -1, 1, -1, 1], [1, -1, 1, -1, -1], [1, -1, -1, 1, 1], [1, -1, -1, 1, -1], [1, -1, -1, -1, 1], [1, -1, -1, -1, -1]]);
Hello, I would like to use sum command to compute sum. > A := Matrix(3, 2, {(1, 1) = 1, (1, 2) = 2, (2, 1) = 2, (2, 2) = 3, (3, 1) = 3, (3, 2) = 4}); > sum(A[k, 1], k = 1 .. 3); Error, bad index into Matrix Why it occures an error? If I use sum over list, it works. How can I sum members of 1st column of Matrix? Thanks Vladimir
I was wondering if anyone might know how to print the intermediate steps when using the dsolve function in to solve a 4th order ODE. I get the result of the dsolve function, but I want to see the actual steps that maple takes to get there. Is this feasible at all, or is there another much simpler method that I'm just not finding? Thanks in advance Jimmy Navarski
Does anyone know how use the command VolumeOfRevolution so that its plot output shows an n number of disks, instead of a continuous surface? The Volume Of Revolution Tutor allows one to specify if the output plot is in the form of a continous volume or with disks, but I can't get disks to display work from a worksheet. Thanks, Phil
  restart; kernelopts(version);
  Digits:=14:
  2^(32); evalf(%); identify(%);

        Maple 10.06, IBM INTEL NT, Oct 2 2006 Build ID 255401

                              4294967296
                                         10
                          0.4294967296 10

Error, (in isFuncOfTest) numeric exception: overflow

  restart; kernelopts(version);
  #Digits:=15:
  evalf(hypergeom([1.0,3.0],[2.0],1.04+0.1*I));

        Maple 10.06, IBM INTEL NT, Oct 2 2006 Build ID 255401

  Error, (in evalf/hypergeom/one_f_II) invalid assignment to Digits


It should be ~ -27700/841-21375/841*I as floats with good exactness.

Hello, I found an error in the following plotting. An error is with discont=true and the range <-5,5>x<-5,5> In other cases it is OK. plot(tan, -5 .. 5, -5 .. 5, discont = true); But when I plot tan as an expression no as a function it works correctly. plot(tan(x), x = -5 .. 5, -5 .. 5, discont = true); The whole document can be visited via View 551_error_tan_plot.mw on MapleNet or Download 551_error_tan_plot.mw
View file details

This example shows that restart command does not work correctly - it means that it does not clear stack memory(internal memory). The following example shows it. In that procedure there are some mistakes, but I think that the restart command should work correctly whith them. If you execute the following procedure three times (maybe twice, it depends on the computer memory capacity, but I do not amount to more than three times), the Maple system falls down with out of memory (execution stop - the stack ) - why? You call the restart command, so where the fatal error is. It does not depend on the correct usage of statements in the procedure.
I have a question about Maple 10 updates. If I would like to update my Maple 10.00 installation which of the updates should I install to get completly Maple 10.06. Thank you. Vladimir
Hello, I use embedded components a lot, but I would like to create them dynamically from my own procedure, e.g. as an output. The reason is, that in new Mathematica 6 is possible to create a plot with slider to show an influence of variable to the plot. I would like to create the similar output in Maple. Thank you. Vladimir

While numerically testing a solution for the February 2007 IBM Ponder This challenge I had to generate a large n×2 Array of random floats uniformly distributed in [0,1).

There was a discussion on comp.soft-sys.maths.maple about how well Maple obtains the Jordan Normal Form of a (square) matrix. LinearAlgebra[JordanForm] is limited to matrices of integers, so it can make severe demands on computer memory; furthermore, in practice, one is often confronted with floating point data. However, linalg[jordan] operates on matrices of both integer and floating point data.
First 52 53 54 55 56 57 58 Last Page 54 of 64