herclau

Mr. Hermes Rozsa Iglesias

1038 Reputation

13 Badges

19 years, 96 days

MaplePrimes Activity


These are questions asked by herclau

I performed the following procedure to simulate the function of Matlab soundsc(Scale data and play as sound).



N := 16000;
 t := Vector(N, i-> evalf(2*i/(N-1)) end proc);

sound1 := sin~((2*evalf(Pi)*440)*t);

aud := Create(sound1, duration = 10.0);

PlayWave := proc (data, SampleFreq)
local SoundFile;
setattribute(data, SampleFreq, 16, 1);
SoundFile := "Bflat3.wav";
Write(SoundFile, data);
process[launch](cat("sndrec32.exe ", SoundFile))

 

How to update a file extension m to extension mla ?
I will need to update the hdb file accompanying ?
Achievement in maple download the file with extension m, but does not display help.

What is the equivalent command from the MATLAB conv in Maple?

Convolution and polynomial multiplication

convolves vectors...


how to implement the unwrap function from Matlab?

Description

Q = unwrap(P) corrects the radian phase angles in a vector P by adding multiples of when absolute jumps between consecutive elements of P are greater than or equal to the default jump tolerance of radians. If P is a matrix, unwrap operates columnwise. If P is a multidimensional array, unwrap operates on the first nonsingleton dimension.
Gracias

How to Plotting Matrix  8 × 8 matrix:

0, 0, 0, 0, 0, 0, 0, 0
0, 1, 1, 1, 1, 1, 1, 0
0, 1, 0, 0, 0, 0, 1, 0
0, 1, 0, 1, 1, 0, 1, 0
0, 1, 0, 0, 0, 0, 1, 0
0, 1, 0, 0, 0, 0, 1, 0
0, 1, 1, 1, 1, 1, 1, 0
0, 0, 0, 0, 0, 0, 0, 0

This matrix would correspond to the following image where 0=black and 1=white.

Gracias

First 8 9 10 11 12 13 14 Last Page 10 of 23