Filter löschen
Filter löschen

Plotting Graphs using Matlab

1 Ansicht (letzte 30 Tage)
farheen asdf
farheen asdf am 28 Aug. 2015
Kommentiert: the cyclist am 28 Aug. 2015
Hi. I need to plot a specific type of graph using Matlab but I can't find a command to do it. If anyone can tell me what command plots graphs like this it'll be very helpful This is what the graph is supposed to look like

Akzeptierte Antwort

the cyclist
the cyclist am 28 Aug. 2015
I suggest you peruse the Plot Gallery for something similar, and heist the code from there.
  7 Kommentare
farheen asdf
farheen asdf am 28 Aug. 2015
thank you so much this is exactly what i needed :)
the cyclist
the cyclist am 28 Aug. 2015
Happy to help. Note that in your version, you were forced to keep the number of points in the theta1 and theta2 vectors the same. You don't need to do that now, because you never actually add those two vectors to each other. That will give you more flexibility in making the figure more visually appealing (or more accurately mimic the exact figure you wanted). For example, you can do something like
theta1=0:0.05:pi/2;
theta2=0:0.05:pi;

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by