myCompiler
English
Deutsch
English
Español
Français
Italiano
日本語
한국어
Nederlands
Polski
Português
Recent
Login
Sign up
Deutsch
English
Español
Français
Italiano
日本語
한국어
Nederlands
Polski
Português
Recent
Login
Sign up
P
@plumberry
2.4.2
Octave
1 minute ago
clc; clear; close all; % Time index n = -5:5; % Input signals x1 = [0 0 0 1 2 3 2 1 0 0 0]; x2 = [0 0 1 1 1 1 1 1 1 0 0];
2.4.1
Octave
20 minutes ago
clc; clear; close all; % Time index n = -5:5; % Input signals x1 = [0 0 0 1 2 3 2 1 0 0 0]; x2 = [0 0 1 1 1 1 1 1 1 0 0];
odd and even signals
Octave
1 day ago
clc; clear; close all; n = -10:.5:10; x = n.^2; % example signal — try changing this x_reversed = fliplr(x); % this represents x(-t) since t is symmetric about 0 if isequal(x, x_reversed)
adding subtracting and mutliplying two signals
Octave
1 day ago
clc; clear; close all; function u = unitStep(n) u = n >= 0; end; function s = SinC(n) s = sin(n)./(n);
amplitude scaling
Octave
1 day ago
clear all; function u = unitStep(n) u = n>=0; end n = -10:1:10 stem(n,unitStep(n)./2,"filled");
Previous
Next page