Revisions
-
embed revised this gist
Jul 24, 2009 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ for i=1:length(Bmec) if abs(Bmec(i))>=2 for j=1:(length(Bfou)) if abs(Bfou(j))>=2 while abs((Bfou(j)-Bmec(i))./Bmec(i)) > 0.05 %hata payi yuksek g=g+g*0.1;%hava araligini arttir %10 [reg]=Fourier_open_circuit(g,delta_z,Rout_stat,Rin_stat,La,h_mag,h_rot_tooth,ts_y,Nr,Ns,rpm,mu_mr,Br,N,I); Bfou=reg(6).Bp; -
embed renamed this gist
Jul 24, 2009 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ for i=1:length(Bmec) if abs(Bmec(i))>=2 for j=1:(length(Bfou)) if abs(Bfou(j))>=2 while abs((Bfou(j)-Bmec(i))./Bmec(i)>0.05) %hata payi yuksek g=g+g*0.1;%hava araligini arttir %10 -
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ for i=1:length(Bmec)/2 if abs(Bmec(i))>=2 for j=1:(length(Bfou))/2 if abs(Bfou(j))>=2 while abs((Bfou(j)-Bmec(i))./Bmec(i)>0.05) %hata payi yuksek g=g+g*0.1;%hava araligini arttir %10 [reg]=Fourier_open_circuit(g,delta_z,Rout_stat,Rin_stat,La,h_mag,h_rot_tooth,ts_y,Nr,Ns,rpm,mu_mr,Br,N,I); Bfou=reg(6).Bp; end elseif (abs(Bfou(j)-Bmec(i))./Bmec(i)<=0.05) %hata payi uygun if dongusunden cikip bir sonraki Bmec degerine bak i=i+1; break else %hata degeri uygun degil hala j=j+1; end end end end