From: v on 9 Jun 2010 02:30 "Kiril " <kkirqkov(a)gmail.com> wrote in message <gs89bu$3j4$1(a)fred.mathworks.com>... > Yes now i get it...(i hope so) :-) I did this p=[10 0 0 0 0 -1] >> r=roots(p) r = -0.5105 + 0.3709i -0.5105 - 0.3709i 0.1950 + 0.6001i 0.1950 - 0.6001i 0.6310 for i=1:size(r,1);a=imag(r(i));if a==0;sol=r(i);end;end >> sol sol = 0.6310
|
Pages: 1 Prev: frequency translation project(MATLAB) help needed....... Next: blob analysis |