MATLAB Answers

Plotting exponential periodic function

조회 수: 4(최근 30일)
Nico Pisani
Nico Pisani 2020년 10월 12일
댓글: Nico Pisani 2020년 10월 12일
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?


Catalytic 2020년 10월 12일
What should you do? You should correct whatever mistake it is you made.
  댓글 수: 1
Nico Pisani
Nico Pisani 2020년 10월 12일
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);

댓글을 달려면 로그인하십시오.



Community Treasure Hunt

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

Start Hunting!

Translated by