MATLAB stem function error
2 ビュー (過去 30 日間)
古いコメントを表示
Whenever I run any program which includes stem function I got this error and it never plot the graph.
1 件のコメント
Image Analyst
2021 年 1 月 16 日
Like I just told someone else a minute ago:
I don't know. MATLAB cannot convert your image into code. Attach your code so we can run it. Make it easy to help you not hard.
回答 (1 件)
Star Strider
2021 年 1 月 16 日
Either just use ‘z1’, or use a ‘shape’ argument with conv:
n = -15:15;
u = n>=0;
u1 = n>= 4;
f = u-u1;
z1 = conv(f,f,'same');
figure
stem(n, z1)
.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Platform and License についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!