Christopher2222

5785 Reputation

24 Badges

16 years, 352 days

MaplePrimes Activity


These are questions asked by Christopher2222

Can I get a box plot on an x-y-z graph?

I want to take a wav file and plot a smooth curve across the top indicating the relative maximums then put those points in an array or matrix with their relative x values.

with(AudioTools):
aud:=Read("c:/Documents and Settings/My Music/sample.wav")
aud2:=ToMono(aud)

There are quite a few spikes around the maximums which would indicate multiple maximums at each max area but I just want the general max.

Something simple

How do I convert an exprseq to a list

L:=seq(i,i=1..50)

L:=[L]   is this the only way to convert the exprseq to a list?  I thnk it's the simplest way, however is there another way?  The convert command won't allow it.

 

 

 

for example
a:=[1,2,3,4,5]
b:=[5,4,3,2,1,0]
c:=[1,2]

a+b+c
Error adding lists of different length

Is it necessary to create new lists padded with zeros to make it work?

 

 

I may have stumbled upon a loop quirk

for m from 1 to 5 do
  m;
end do;

First 82 83 84 85 86 87 88 Last Page 84 of 94