how to plot this function with figure

11 visualizzazioni (ultimi 30 giorni)
marwan alamah
marwan alamah il 9 Giu 2020
Commentato: Adam Danz il 9 Giu 2020
In the same figure, plot:1) sin(x), x+1, x3-3, in the rank -2 to 3.14
2)Plot x=8×cos⁡(t),y=4√(sin⁡(t)),z=-4√(sin⁡(t)) t= [0,2π]
3)z=(sin√(x^2+y^2 ))/√(x^2+y^2 )
  4 Commenti
David Hill
David Hill il 9 Giu 2020
You likely want to break x into a larger array.
x=-2:.01:3.18;
You can plot all at once with one plot command
plot(x,y,x,z,x,m);
Adam Danz
Adam Danz il 9 Giu 2020
In addition to David's advice, you'll also need to apply the math in your question, of course. Those functions should be pretty easy to identify.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects 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!

Translated by