why stepseq error in matlab 2022a

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

Answers (1)

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

Tags

Asked:

on 7 Nov 2022

Answered:

on 7 Nov 2022

Community Treasure Hunt

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

Start Hunting!