In tau and rho, Try replacing the matricidal division / with term by term division ./
cosd(phi))./ Sent from my phone Modestas Bunokas <[email protected]> wrote: >Hello, can't find what did wrong. > >/eps0=8.854e-12; >mu0=1.256e-6; >eps=4*eps0; >mu=4*mu0; > >zb1=sqrt(mu0/eps0); >zb2=sqrt(mu/eps); >phi=[0:15:90]; > >theta=asind(((sqrt(eps0*mu0))/sqrt(eps*mu))*sind(phi)); >rho=-((zb1*cosd(theta)-zb2*cosd(phi))/(zb1*cosd(theta)+zb2*cosd(phi))); >tau=(2*zb2*cosd(phi))/(zb1*cosd(theta)+zb2*cosd(phi));/ > >theta calculating perfectly, but last two (rho and tau) getting only one >result, and even doubt that it's correct. Seems need to add data in other >way. Could someone help me to understand my mistake? > >Thank you > > > > >-- >View this message in context: >http://mailinglists.scilab.org/Scilab-not-calculating-all-results-Not-a-bug-mistake-made-by-me-tp4030628.html >Sent from the Scilab users - Mailing Lists Archives mailing list archive at >Nabble.com. >_______________________________________________ >users mailing list >[email protected] >http://lists.scilab.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
