## herclau

Mr. Hermes Rozsa Iglesias

## 1038 Reputation

19 years, 215 days

## AutoCorrelation Maple vs MatLab...

Maple

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"]);

## problem with Statistics [PointPlot]...

Maple

How to solve this problem:

style = line option is not executed within the command Statistics [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.

## stacked plot in Maple...

Maple

How to perform the following plot in Maple?

## diff(Vector_data)?...

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

## replacement sampling...

Maple

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
﻿