how to plot Integrate of exponent and cosine equation.

조회 수: 1 (최근 30일)
Hafizah Halip
Hafizah Halip 2019년 10월 8일
댓글: Hafizah Halip 2019년 10월 9일
i want to do simulation to plot this equation;
where i want to change the phi with 0, π/4, and π/2.
Next, I want to do,
where i want to see what is the shape of the graph with multiple tau is used.
Can anyone help me some idea how to start? i appreciate it so much!
  댓글 수: 5
darova
darova 2019년 10월 9일
What are τ 1 and τ 2 ? Are they numbers?
Hafizah Halip
Hafizah Halip 2019년 10월 9일
yes.
lets say
T1= 2ns
T2 =4ns

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

답변 (1개)

Martin C.
Martin C. 2019년 10월 8일
you can try something like this
syms tau t
f = exp(-t/tau).*cos(t+1)
func = int(f,t,0,1)
x = 0.01:.01:10;
y = subs(func, x)
plot(x,y)

카테고리

Help CenterFile Exchange에서 Optics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by