how can I plot this function?

2 vues (au cours des 30 derniers jours)
Shouq A
Shouq A le 6 Avr 2020
Commenté : darova le 7 Avr 2020
how can i plot this function in matlab x(t)= J0(πt)[u(t) − u(t − 1)] and h(t) = 1.5 cos(πt)[u(t) − u(t − 1.5)]?
  1 commentaire
darova
darova le 6 Avr 2020
Make an effort. It's your second time you want someone to do your homework

Connectez-vous pour commenter.

Réponse acceptée

shubhi dua
shubhi dua le 6 Avr 2020
t=0:0.001:20
% as you decrease the step size the graph becomes more and more acurate.%
x= J0(pi*t)(heaviside(t)-heaviside(t-1))
plot(t,x)
y=1.5*cos(pi*t).*(heaviside(t)-heaviside(t-1.5))
plot(t,y)
  1 commentaire
darova
darova le 7 Avr 2020
Don't do someone's homework

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by