Can any one pls help me this code. It is showing that the vectore length are not equal. What should I do?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Gaurav Sharma
le 14 Oct 2018
Modifié(e) : madhan ravi
le 14 Oct 2018
Can anyone pls help me this code. It is showing that the length of the vectors are not equal. What should I do? values I have put are given below: T1=input('t1= 10 '); H= input('h= 0.1'); Y1=input('x10 = 1'); Y2=input('x20 = 1'); Y3=input('v10 = 1'); Y4=input('v20 = 1'); C1=input('C1= 1'); C2=input('C2= 1'); C=input('C= 1'); M=input('M= 1'); i=0;
0 commentaires
Réponse acceptée
madhan ravi
le 14 Oct 2018
Modifié(e) : madhan ravi
le 14 Oct 2018
figure()
plot(x(1:numel(y1)),y1,'r')
figure()
plot(x(1:numel(y2)),y2,'g')
figure()
plot(x(1:numel(y3)),y3,'r')
figure()
plot(x(1:numel(y4)),y4,'y')
0 commentaires
Plus de réponses (0)
Voir également
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!