clc;
close all;
clear;
t=-1:1;
a = sin(2*pi*t);
b = stepseq(-1, -1, 1)-stepseq(1, -1, 1);
h = a.*b;
subplot(2,1,2);
title('5-19_d');xlabel('t');ylabel('x[t]');

Antworten (1)

Walter Roberson
Walter Roberson am 7 Nov. 2022

0 Stimmen

stepseq is not a function provided by Mathworks. See https://www.mathworks.com/matlabcentral/answers/12834-unsolved-function for the code.

Tags

Gefragt:

am 7 Nov. 2022

Beantwortet:

am 7 Nov. 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by