trying to plot 2d graph with y=(x+some_thing/x+same_thing)
Afficher commentaires plus anciens
I want to plot multiple 2d graphs where x varies from 0 to 1 with step size of 0.1
y=(0.9*x+0.01)/(x+0.1);
when I run this i get y as variable containing just one value .
I was expecting an array of 11 values .
Why it did not happen ?
Also , if I wrote y=(x+2)/(x+2); I want y as array of ones . How can i do that ?
Thanks.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Graphics Object Properties dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!