Plotting two equations for a varying number

I cant get each of these equations to show up only one comes up and i cant tell why.

3 Kommentare

Rik
Rik am 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
Walter Roberson am 20 Jan. 2018
Why do you bother calculating a(i) when you are not going to use it later?
Image Analyst
Image Analyst am 20 Jan. 2018
Bearbeitet: Image Analyst am 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?

Antworten (0)

Diese Frage ist geschlossen.

Tags

Gefragt:

am 20 Jan. 2018

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by