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 件のコメント
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)

カテゴリ

Find more on Atomic, Molecular & Optical in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by