How to plot four variables in a line graph ?

2 vues (au cours des 30 derniers jours)
chayanon summueang
chayanon summueang le 8 Oct 2018
Commenté : madhan ravi le 8 Oct 2018
I have one equation with 4 variables (x,y,z,d).I substitute the variable x in the equation and have 3 variables. I want to plot with 3 variables in a line graph.
How can I plot this graph? Thank you very much for your answer :)
  6 commentaires
Jan
Jan le 8 Oct 2018
@chayanon summueang: By the way, the code looks much nicer, if you replace the expensive power operation 1*(10^-9) by the fast constant 1e-9. In addition you can use the "{} Code" button instead of inserting a blank line after each line of code.
You forgot to mention the problem you have with this code.
madhan ravi
madhan ravi le 8 Oct 2018
Btw no of elements of x4 y4 are not the same.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by