Matlab plots my equation wrong
Show older comments
x=-20:0.1:20;
f2=x.^10-1;
plot(x,f2)

I cant understand why it sketches my basic code wrong.
5 Comments
Walter Roberson
on 22 Mar 2019
It looks right to me. You might have overlooked the "x 10^12" on the upper left of the y axis.
Melih Aksoy
on 22 Mar 2019
Edited: Melih Aksoy
on 22 Mar 2019
Melih Aksoy
on 22 Mar 2019
Accepted Answer
More Answers (0)
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!