how to use axis ?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Aiachi Hiba
il 22 Mag 2017
Commentato: Aiachi Hiba
il 22 Mag 2017
hello, i want to know how to use "axis" to choose the points where i want to have my curve
i have this function whose plotted at points -200 to 200 when i tried
axis([-0.3 0.3 -40 40]) it shows
Subscript indices must either be real positive integers or logical.
so what should i do to get my function at the interval [-0.3 0.3 -40 40]?
0 Commenti
Risposta accettata
Guillaume
il 22 Mag 2017
"when i tried axis([-0.3 0.3 -40 40]) it shows Subscript indices must either be real positive integers or logical"
That error messages means you're trying to index a variable. The most common cause of this error is that you have a variable called axis which shadows the axis function. The solution is to rename that variable to something that is not a function name.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Annotations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!