Qui peut me dépanner un programme matlab
Fermé
ereduverseau
Messages postés
9
Date d'inscription
mardi 4 septembre 2007
Statut
Membre
Dernière intervention
17 octobre 2007
-
13 oct. 2007 à 13:55
yannickobe - 20 janv. 2008 à 21:53
yannickobe - 20 janv. 2008 à 21:53
A voir également:
- Qui peut me dépanner un programme matlab
- Programme demarrage windows 10 - Guide
- Cette action ne peut pas être réalisée car le fichier est ouvert dans un autre programme - Guide
- Desinstaller un programme - Guide
- Forcer la fermeture d'un programme - Guide
- Mettre en veille un programme - Guide
3 réponses
ereduverseau
Messages postés
9
Date d'inscription
mardi 4 septembre 2007
Statut
Membre
Dernière intervention
17 octobre 2007
6
17 oct. 2007 à 10:43
17 oct. 2007 à 10:43
je suis débutant, 59 ans.Comment réussir à faire tourner ce programme? il affiche "attempt execute SCRIPT for as a function"il bloque ligne 12.Comment aussi éviter l'affichage des résultats intermédiaires de la boucle ? puis je enlever les (n,l,m) à w1,w2,w3? Comment faire un graphique final 3d coloré des valeurs intermédiaires de min b et deltar en fonction de wi w2w3 ou 3 graphiques 2d en prenant w1,w2,w3 2 a 2 et impripmer les résultats ? merci d'avance
a=2;ww1=100;ww2=15/1000;ww3=4;
bb1=1;bb2=1;bb3=1;
tt1=1;tt2=1;tt3=1;
delta=10
Y1=a+bb1*sin(-3*ww1+tt1)+bb2*sin(-3*ww2+tt2)+bb3*sin(-3*ww3+tt3)
Y2=a+bb1*sin(-2*ww1+tt1)+bb2*sin(-2*ww2+tt2)+bb3*sin(-2*ww3+tt3)
Y3=a+bb1*sin(-1*ww1+tt1)+bb2*sin(-1*ww2+tt2)+bb3*sin(-1*ww3+tt3)
Y4=a+bb1*sin(0*ww1+tt1)+bb2*sin(0*ww2+tt2)+bb3*sin(0*ww3+tt3)
Y5=a+bb1*sin(1*ww1+tt1)+bb2*sin(1*ww2+tt2)+bb3*sin(1*ww3+tt3)
Y6=a+bb1*sin(2*ww1+tt1)+bb2*sin(2*ww2+tt2)+bb3*sin(2*ww3+tt3)
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=B1m*sin(+1*w1m+T1m)+B2m*sin(+1*w2m+T2m)+B3m*sin(+1*w3m+T3m);
YF6=B1m*sin(+2*w1m+T1m)+B2m*sin(+2*w2m+T2m)+B3m*sin(+2*w3m+T3m);
YF7=B1m*sin(+3*w1m+T1m)+B2m*sin(+3*w2m+T2m)+B3m*sin(+3*w3m+T3m);
delta =abs(Y1-YF1-Am)+abs(Y2-YF2-Am)+abs(Y3-YF3-Am);
delta=delta+abs(Y4-YF4-Am)+abs(Y5-YF5-Am);
delta=delta+abs(Y6-YF6-Am)+abs(Y7-YF7-Am);
Amm= Am;
B1mm=B1m;W1mm=W1m;T1mm=T1m;
B2mm=B2m;W2mm=W2m;T2mm=T2m;
B3mm=B3m;W3mm=W3m;T3mm=T3m;
deltafin=delta;minbfin=minnb;
comment réussir à faire tourner ce programme?
a=2;ww1=100;ww2=15/1000;ww3=4;
bb1=1;bb2=1;bb3=1;
tt1=1;tt2=1;tt3=1;
delta=10
Y1=a+bb1*sin(-3*ww1+tt1)+bb2*sin(-3*ww2+tt2)+bb3*sin(-3*ww3+tt3)
Y2=a+bb1*sin(-2*ww1+tt1)+bb2*sin(-2*ww2+tt2)+bb3*sin(-2*ww3+tt3)
Y3=a+bb1*sin(-1*ww1+tt1)+bb2*sin(-1*ww2+tt2)+bb3*sin(-1*ww3+tt3)
Y4=a+bb1*sin(0*ww1+tt1)+bb2*sin(0*ww2+tt2)+bb3*sin(0*ww3+tt3)
Y5=a+bb1*sin(1*ww1+tt1)+bb2*sin(1*ww2+tt2)+bb3*sin(1*ww3+tt3)
Y6=a+bb1*sin(2*ww1+tt1)+bb2*sin(2*ww2+tt2)+bb3*sin(2*ww3+tt3)
Y7=a+bb1*sin(3*ww1+tt1)+bb2*sin(3*ww2+tt2)+bb3*sin(3*ww3+tt3)
FOR n = 1:100:20000
FOR l = 1:100:20000
FOR m = 1:100:20000
w1(n)=n/100;cc=cos(w1(n));ss1=sin(w1(n));
w2(l)=l/100;cc2=cos(w2(l));ss2=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m)+B3m*sin(+3*w3m+T3m);
delta =abs(Y1-YF1-Am)+abs(Y2-YF2-Am)+abs(Y3-YF3-Am);
delta=delta+abs(Y4-YF4-Am)+abs(Y5-YF5-Am);
delta=delta+abs(Y6-YF6-Am)+abs(Y7-YF7-Am);
Amm= Am;
B1mm=B1m;W1mm=W1m;T1mm=T1m;
B2mm=B2m;W2mm=W2m;T2mm=T2m;
B3mm=B3m;W3mm=W3m;T3mm=T3m;
deltafin=delta;minbfin=minnb;
comment réussir à faire tourner ce programme?