Plotting two equations for a varying number
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
I cant get each of these equations to show up only one comes up and i cant tell why.
3 commentaires
Rik
le 20 Jan 2018
What are the axis limits? Are you expecting the values to have approximately the same x and y range? If you post your code as code, instead of an image, we could run it. (if you do, use the {}Code button for correct formatting)
Walter Roberson
le 20 Jan 2018
Why do you bother calculating a(i) when you are not going to use it later?
Image Analyst
le 20 Jan 2018
Modifié(e) : Image Analyst
le 20 Jan 2018
The badly-named "a" is used in the line of code
plot(a, AR);
But I'm not going to type in all that code. I'm waiting for Austen to paste in the code or use the paper clip icon to attach the m-file.
When you set a0 equal to .1625, did you mean to set the first element of "a" to that? Like this:
a(1) = 0.1625;
and then use a(1) in your code instead of a0?
Réponses (0)
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!