how to rectify stem function error?
Show older comments
n={-5,-4,-3,-2,-1,0,1,2,3,4,5};
u_n={0,0,0,0,0,1,1,1,1,1,1};
stem(n,u_n);
xlabel('time sample');
ylabel('amplitude');
Error: using stem (line 40)
Input arguments must be numeric, datetime, duration or categorical.
how to rectify this error?
Accepted Answer
More Answers (0)
Categories
Find more on Specialized Power Systems in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!