Filter löschen
Filter löschen

Plotting exponential periodic function

2 Ansichten (letzte 30 Tage)
Nico Pisani
Nico Pisani am 12 Okt. 2020
Kommentiert: Nico Pisani am 12 Okt. 2020
Hi There!
I'd like to plot the following function with matlab as a theta function
but the graphs looks completely wrong.
What should I do?

Antworten (1)

Catalytic
Catalytic am 12 Okt. 2020
What should you do? You should correct whatever mistake it is you made.
  1 Kommentar
Nico Pisani
Nico Pisani am 12 Okt. 2020
There are no code mistakes. Simply the graph is not the one I expect...
Here is what I typed in:
x = linspace(0,2*pi,100);
y = ((1-exp(-1.9./cos(x)))./(1-exp(-1.9))).*cos(x);
plot(x,y)
I

Melden Sie sich an, um zu kommentieren.

Kategorien

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

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by