herclau

Mr. Hermes Rozsa Iglesias

1038 Reputation

13 Badges

19 years, 44 days

MaplePrimes Activity


These are questions asked by herclau

what is the difference between the autocorrelation function of Maple and MatLab function xcorr?

> N := 1024;
> f1 := 1;
> FS := 200;
> n := Vector([`$`(0 .. N-1)]);
> x := evalf(`~`[sin](2*Pi*f1*n/FS));
> t := Vector([`$`(1 .. N)]/FS);
> plot(t, x, axes = box, gridlines, color = blue, title = "Sinwave of frequency 1000Hz [FS=8000Hz]", labels = ["Time, [s]",

"Amplitude"], labeldirections = ["horizontal", "vertical"]);

How to solve this problem:

 style = line option is not executed within the command Statistics [PointPlot].

Statistic[PointPlot]

 

 But right click on the graph Style / line is obtained as expected. Except that when you run the initial command, Statistics [PointPlot] ... back to the previous graph.

 

How to perform the following plot in Maple?

 

 

 

How implementing in Maple this MATLAB's sequence?

timing_data = 0:0.01:5;
X = timing_data; %(s)
delta_t = mean(diff(X))

delta_t =

    0.0100

Gracias

How generate all possible samples of size n = 2 that can be drawn with replacement from this population [0,1,2]?

It occurs to me using these commands.

 restart; with(combinat); choose([0, 0, 1, 1, 2, 2], 2);

        [[0, 0], [0, 1], [0, 2], [1, 1], [1, 2], [2, 2]]

 permute([0, 0, 1, 1, 2, 2], 2);

[[0, 0], [0, 1], [0, 2], [1, 0], [1, 1], [1, 2], [2, 0], [2, 1], [2, 2]]

5 6 7 8 9 10 11 Last Page 7 of 23