Borrar filtros
Borrar filtros

how to plot Integrate of exponent and cosine equation.

2 visualizaciones (últimos 30 días)
Hafizah Halip
Hafizah Halip el 8 de Oct. de 2019
Comentada: Hafizah Halip el 9 de Oct. de 2019
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 comentarios
darova
darova el 9 de Oct. de 2019
What are τ 1 and τ 2 ? Are they numbers?
Hafizah Halip
Hafizah Halip el 9 de Oct. de 2019
yes.
lets say
T1= 2ns
T2 =4ns

Iniciar sesión para comentar.

Respuestas (1)

Martin C.
Martin C. el 8 de Oct. de 2019
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)

Categorías

Más información sobre Electrical Block Libraries en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by