Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
WHY THE CODE GIVE ERROR AT THE d=a*(b+c);
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
clc
x=0:1:20;
a=exp(-1.3*x);
b=-1.56*10^-5*sin(13*x);
c=3.4*10^-6.*cos(13*x);
d=a*(b+c);
plot(x,d);
0 commentaires
Réponses (1)
David Hill
le 28 Oct 2020
x=0:1:20;
a=exp(-1.3*x);
b=-1.56*10^-5*sin(13*x);
c=3.4*10^-6*cos(13*x);
d=a.*(b+c);%need a dot (.*)
plot(x,d);
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!