MaplePrimes Questions

Hello all

I am new to maple. I am calculating a mutual information for a continuous distribution over a set of five elements. To approximate the continuous distribution I loop over percentage of integers from 0.01 to 0.99 in steps of .01 For five number this is like 10^10 iterations. Given two restrictions p_1+...+p_5 = 1 and p_1 <= ... <= p_5 this is reduced to something less than 10^7 iterations for the innermost loop. Still this process is very slow. (Well...

Hi, everyone,

I am dealing with a simplified model of my real problem. Here is the function definition

f:=(x,lambda)->min(x lambda,0)

I can plot this function in plot3d:

plot3d(f(x,lambda),x=-2..2,lambda=-2..2, axes=boxed)

but if I try to plot the derivitive of this function w.r.t. lambda (which is a discontinuous function) by:

plot3d(diff(f(x,lambda),lambda),x=-2..2,lambda=-2..2, axes=boxed)

I get error message: Error, (in PiecewiseTools:-Convert...

Sorry, but I am novice at all. I could make the pkt list. But how can I plot the Function with the optimized parameters and the pkt-list into one diagram? Thanks a lot. Walter

Given Datas:

xd := Vector([0, 25, 50, 75, 100, 125, 150, 175, 200, 225, 250, 500, 750, 1000, 1250, 1500, 1750, 2000, 2500, 3600])

yd1 := Vector([0, 6.24, 11.26, 14.9, 17.58, 20.01, 22.0, 23.56, 24.85, 26.03, 27.36, 35.07, 39.4, 42.61, 44.36, 45.79, 46.62, 46.9, 47.79, 48.85])

Given function: (looks a little different in Maple, but copy and paste did not work)

<maple>F2 := proc (x) options operator, arrow; K2*(1-(T12-Tv2)*exp(-x/T12)/(T12-T22...

Maple seems to constrain pie charts to having only a name, or only a percentage or frequency. I want it all.  I don't want to choose between labels and numbers.

A pie chart like this one would be a good start: http://www.mmsonline.com/cdn/cms/Sandvik-pie-chart.jpg except I want to present frequency as well.

Notice in the example above that the large...

Hi all,

I need a contour plot of c with a and b values as x and y axis.

a := `<,>`(Vector(12, {(1) = .19375, (2) = .19494, (3) = .19581, (4) = .19632, (5) = .19646, (6) = .19624, (7) = .19565, (8) = .19472, (9) = .19349, (10) = .19198, (11) = .19024, (12) = .18833}))


b := `<,>`(Vector(12, {(1) = -0.1517e-1, (2) = -0.1515e-1, (3) = -0.1512e-1, (4) = -0.1509e-1, (5) = -0.1506e-1, (6) = -0.1503e-1, (7) = -0.15e-1, (8...

Below is a small tidbit of code that operates on the matrix vel and updates its values.  When I check the values of the indices in the matrix, every single element, barring vel(1,1), vel(1,2), and vel(1,3), is equal to 0.

vel := Matrix(3, 241, datatype = float[8]);

step := 0.1;

vel(1, 1) := 5; vel(2, 1) := 95; vel(3, 1) := 3;

UpdateAllVelocities := proc (i, vel::Matrix, accel::Matrix, step);

#I understand these calls are quite pointless......

With a lot of languages, the compiler will issue warnings when the user does something that could cause errors. I often find myself mistyping or misspelling words in Maple, and this often leads to runtime errors.  Is it possible to make the interpreter issues warnings when I implicitly declare a variable or do something similarly risky? 

Here's my first attempt at posting some 2DMath on this site.

First, I will paste directly from 2D output in a running Standard GUI Maple session.

BesselJ(0, x)+GAMMA(Psi)-sqrt(abs(omega))

How can I build an increasing list using a loop?

Something like this

a[1]:= [...]
a[2]:= [...]
a[3]:= [...]

c[1]:=a[1]
c[2]:=[op(a[1]),op(a[2])]
c[3]:=[op(a[1]),op(a[2]),op(a[3])]

etc...

I thought about using a loop but then got stuck

for i from 1 to 3 do
  c[i]:= ???

Hi everyone.

I have been experiencing a problem trying to solve a coupled system of 4 differencial equations, 2 PDEs with 2 ODE.

My problem is that a got a message back as I try to solve the system:

"Error, (in pdsolve/numeric/process_IBCs) improper op or subscript selector"

My first question is: Am I defining the IBCs rightly?

If not, I don`t have a clue on how to solve this problem, I really apreciate some help out here.

Thanks for all the above input.

 

Now I have imported my text file using TOOLS->ASSISTANTS->IMPORT DATA .

Text file has 3 columns: x, y and z.

 

How can I get a contour plot 3d from this matrix i.e. plot z using x and y values as axes.

 

Thanks again.

Dear Colleagues, I need your cooperation.
How to make the following graphs to illustrate the SVD of a Matrix

 

How do I insert a hyperlink with this new site?  The link icon on the toolbar is grayed-out.

Just a simple histogram, but how do I select the values from the graph. 

op(b) pulls out the data of the graph

POLYGONS([[1., 0], [2., 0], [2., 1], [1., 1]], [[2., 0], [3., 0], [3., 0], [2., 0]], [[3., 0], [4., 0], [4., 1], [3., 1]], [[4., 0], [5., 0], [5., 2], [4., 2]], [[5., 0], [6., 0], [6., 1], [5., 1]], [[6., 0], [7., 0], [7., 1], [6., 1]], [[7., 0], [8., 0], [8., 1], [7., 1]], [[8., 0], [9., 0], [9., 4], [8., 4]], COLOUR(HSV, .5476190475, 1.000000000, .7000000000))

First 1986 1987 1988 1989 1990 1991 1992 Last Page 1988 of 2431