how to rectify stem function error?
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Shyam Sunder
il 15 Ago 2020
Risposto: Walter Roberson
il 15 Ago 2020
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?
0 Commenti
Risposta accettata
Walter Roberson
il 15 Ago 2020
Your {} should be []
You are not going to be able to stem() a cell array.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Specialized Power Systems in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!