Christopher2222

5 years, 281 days


These are answers submitted by Christopher2222

There are lots, aside from the manuals themselves,

Introduction to Maple by Andre Heck is a classic.
Essential Maple 7
The Maple Book Frank Garvan
Programming in Maple - Michael Monagan
Partial Differential equations and Boundary value problems with MapleV
Physics with Maple

There is really no one best maple book out there. 

 

modelica look up tables

March 15 2014 Christopher2222 3844
0 0

As of April 14, 2013 Modelica standard look up tables were not yet supported.  You can check out the maplesim datasheet here http://www.maplesoft.com/view.aspx?SID=145968

Under interface and modeling there's only two points that may be partially relavent to your question:

- Import of Modelica libraries and models based on the Modelica 3.1 standard library
- Data import and export, and lookup tables

no specifics though.

MapleSim 6.2 and 6.3 may have added support.

using sowpods

March 15 2014 Christopher2222 3844
1 5

Using the sowpods dictionary (freely downloadable)

with(ListTools):

a:=readdata("f:/sowpods.txt",string,1):  #memory jumped to 372Mb isn't that high? reason unknown
b:=Flatten(a):

nops(b)
                   276651

 

tot:=0
for i from 1 to nops(b) do
  if searchtext("CIE",b[i])>0 then tot:=tot+1: end if
end do:
tot;

                          923

 

 

 


 

shading=zhue

March 11 2014 Christopher2222 3844
0 3

If you use ScatterPlot3D and use shading=zhue we can roughly achieve what you want ... I think.

Maybe this?

with(Statistics):

a := [[1, 1, 0], [1, 2, 2], [1, 3, 3], [2, 1, 1], [2, 2, 4], [2, 3, 5], [3, 1, 2], [3, 2, 1], [3, 3, 3]]
x:=[..,1]
y:=[..,2]
z:=[..,3]
xyz:=Matrix([x,y,z])

ScatterPlot3D(xyz,symbolsize=30,orientation=[-90,0,0],view=[0..max(x),0..max(y),default],axes=normal, shading=zhue)

 

The third point will determine the zpoint and hence the zhue shading color.

 

It seems the whole Maple18 help is not yet available online.  I was looking for the help page on the InertForm package but it is also not there yet.

with(stat): Locate

February 22 2014 Christopher2222 3844
0 0

You could also use the statistics supplement package from the application center here as well.

with(stat):

a:=[1,1,1,0,1,0]

m:=proc(a)  {op(Locate(a,1))}
end proc:

m(a)
                  

 

Statistics supplement

February 22 2014 Christopher2222 3844
1 1

Alternatively you could grab the Statistics supplement from the application center, it uses the same Standard deviation calculation that most other softwares use to calculate the standard deevs.    http://www.maplesoft.com/applications/view.aspx?SID=4679

Save the .lib and .ind files in your user directory

For example in my Maple12 folder I saved it under users/statsupp/

restart;
libname:="c:/Program Files/Maple 12/Users/statsupp/",libname

with(stat)

[Anova1,Anova2m,Anova2s,AnovaBeta,BernoulliCDF,BernoulliPDF,BernoulliS,BetaCDF,BetaP,BetaPDF,BetaS,
BinomialCDF,BinomialPDF,BinomialS,BivariateNormalPDF,BivariateNormalS,BoxWhisker,CauchyPDF,CauchyS,
ChisquareCDF,ChisquareFit,ChisquareP,ChisquarePDF,ChisquareS,ClassFreq,ConfIntAvLen,ConfIntMean,
ConfIntPlot,ConfIntProp,ConfIntSuc,ConfIntVar,Contingency,ContinuousS,Convolution,Correlation,Craps,Die,
DiscUniformS,DiscreteS,DoubleExponentialPDF,ExponentialCDF,ExponentialP,ExponentialPDF,ExponentialS,
ExponentialSumS,FCDF,FP,FPDF,FS,FastCraps,Freq,GBCDF,GBDPDF,GBP,GammaCDF,GammaP,GammaPDF,
GammaS,GeometricCDF,GeometricPDF,GeometricS,GraphRandWalk,GraphRandWalk2,Histogram,
HypergeometricPDF,HypergeometricS,KSFit,Kurtosis,LinReg,Locate,LogisticPDF,LogisticS,MakeRandom,
MarginalRelFreq,Max,Mean,Median,MedianTest,Min,N01S,NegBinomialCDF,NegBinomialPDF,NegBinomialS,
NormTransVarS,NormalCDF,NormalMeanS,NormalMedianS,NormalP,NormalPDF,NormalS,NormalSumS,
NormalVarianceS,Ogive,Percentile,PlotDiscCDF,PlotEmpCDF,PlotEmpPDF,PlotPolyReg,PlotRunningAverage,
PoissonCDF,PoissonPDF,PoissonS,PolyReg,ProbHist,QQ,QQFit,RNG,RandWalk,RandWalk2,Range,RegAnal,
RegBand,Residuals,RunTest,RunningSum,ScatPlot,ScatPlotLine,SignTest,Skewness,StDev,StemLeaf,TCDF,
TP,TPDF,TS,TimePlot,UniformCDF,UniformMeanS,UniformMedianS,UniformP,UniformPDF,UniformS,
UniformSumS,Variance,WeibullPDF,Wilcoxon,Wilcoxon2,XbarChart,rng]

a:=[[3,7],[2,13]]:

StDev(a)

                              

evalf(%,15)
                             0.489360484929593

 

 

 

another way

February 21 2014 Christopher2222 3844
0 0

A slightly different approach but similar to Acers

m:=proc(a::list)
  local b,i:
  b:=zip(`*`,a,[ seq(i,i=1..nops(a)) ] ) :
  {seq(`if`(b[i]=0 , NULL, i), i=1..nops(b) ) }
end proc:

Sorry if it doesn't work I don't have access to Maple today so I can't test it.

**slight correction on the brackets, and it works as expected now.  :)

 

expand it out

February 21 2014 Christopher2222 3844
0 8

So to get the standard StandardDeviation value you'll have to expand the values.

with(Statistics):
aa:=[3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2]

StandardDeviation(aa)

                    0.489360484929593

 

Not sure why using weights would change the way it calculates the standard deviation.

Weights need to be a vector

February 20 2014 Christopher2222 3844
0 0

In the help page it specifies the weights are a vector.

Enclose your weight list with < > brackets instead and see if that works.

And idea - Maplet

February 15 2014 Christopher2222 3844
1 0

Perhaps it could be done using a maplet in a similar way used in the fifa simulation by Robert Israel http://www.mapleprimes.com/posts/94471-FIFA-Simulation

Alternatively one could employ

e:=exp(1) in their maple.ini file

hence making the value e known to maple that you want it as the exponential.  Similarily one could use the same tactics for changing I to J for -1 by a slightly different tactic.

interface(imaginaryunit=J)

 

Keith and Gaston

December 24 2013 Christopher2222 3844
0 0

Keith Geddes and Gaston Gonnet

..a link http://www.mapleprimes.com/posts/40040-Gaston-Gonnet

TAB alternative HOTKEY bind

December 15 2013 Christopher2222 3844
0 0

Aside from the crtl-c crtl-v 'ing a few spaces.  There is a program called Hotkey bind (free of course) where you can set up a hotkey combination to insert 5 spaces for example.  Again it won't solve the importing of older documents it will help in the creation of future documents. 

I just loaded hotkey bind and set up crtl-t to insert 5 spaces ... it works quite well. 

1 2 3 4 5 6 7 Last Page 1 of 32