Effacer les filtres
Effacer les filtres

I have some question in MATLAB homework

3 vues (au cours des 30 derniers jours)
Mutlu Eren
Mutlu Eren le 2 Mai 2018
Commenté : Rena Berman le 15 Mai 2018
I have some question in my MATLAB homework Please help me to solve them.
  4 commentaires
Guillaume
Guillaume le 2 Mai 2018
Modifié(e) : Walter Roberson le 2 Mai 2018
So, not only did Mutlu not do his own howework, but once someone had done his homework for him he then closes the question and deletes the question body so that it is then useless for everybody else.
Answers is there to benefit everybody. It is not a help me cheat on my homework service.
Rena Berman
Rena Berman le 15 Mai 2018
(Answers Dev) Restored edit

Connectez-vous pour commenter.

Réponses (2)

Yuvaraj Venkataswamy
Yuvaraj Venkataswamy le 2 Mai 2018
Modifié(e) : Walter Roberson le 2 Mai 2018
Please check this.
%%%%%%9.
t=-10:1:10;
x1=exp(-(t));
figure;
plot(t,x1,'r-');
hold on
x2=exp(-(t-2));
plot(t,x2,'g-');
hold on
x3=exp(-(t+2));
plot(t,x3,'b-');
xlim([-10 10])
%%%%%%%10.
t=-10:1:10;
x1=exp(-(t));
figure;
plot(t,x1,'r-');
hold on
x2=exp(-(2*t));
plot(t,x2,'g-');
hold on
x3=exp(-(0.5*t));
plot(t,x3,'b-');
xlim([-10 10]);
%%%%%%%%11.
t=-10:1:10;
x1=t.^3;
figure;
plot(t,x1,'r-');
hold on
x2=(-t).^-3;
plot(t,x2,'g-');
xlim([-10 10])
t=-10:1:10;
x1=exp(-0.2*t).*sin(t);
figure;
plot(t,x1,'r-');
hold on
x2=exp(-0.2*(-t)).*sin(-t);
plot(t,x2,'g-');
xlim([-10 10])
  2 commentaires
Walter Roberson
Walter Roberson le 2 Mai 2018
I would suggest using linspace(-10,10) instead of -10:1:10 as the : version is only 21 points.
Yuvaraj Venkataswamy
Yuvaraj Venkataswamy le 2 Mai 2018
Modifié(e) : Yuvaraj Venkataswamy le 2 Mai 2018
Yes. In this, I have considered step increment is 1. So, I got 21 points.

Connectez-vous pour commenter.


Walter Roberson
Walter Roberson le 2 Mai 2018

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by