How do I create a script for a summation then plot?
Mostra commenti meno recenti
I'm trying to convert this function to script:

then once it's in script plot it.
I wrote the script:
n=[1:10];
x=0:0.1:2*pi;
sys=(n/(n.^3)+4)*(sin(n*x))
and got back:
error: Test: operator *: nonconformant arguments (op1 is 1x10, op2 is 1x63)
error: called from
Test at line 3 column 4
error: evaluating argument list element number 1
error: called from
Test at line 3 column 4
How can I get an output?
Thank you so much!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!