13 lines
263 B
Mathematica
13 lines
263 B
Mathematica
Fs = 20e3; % [Hz]
|
|
Ts = 1/Fs; % [s]
|
|
|
|
f0 = 1; % [Hz]
|
|
f1 = 2e3; % [Hz]
|
|
V0 = 1; % [V]
|
|
t1 = 100; % [V]
|
|
t = 0:Ts:t1;
|
|
|
|
Vin = struct('time', t, ...
|
|
'signals', struct('values', V0*chirp(t, f0, t1, f1, 'logarithmic', -90)', ...
|
|
'dimensions', 1));
|