Find Roots of Function & Return Column Vector

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
noobienoob
Messages
3
Reaction score
0
i need to create a function that returns the pure zeros on the left semiplane and 0 if there is one and only one zero in the origin of the referential. the return has to be in a column vector like [root1;root2;...;rootn;0] or [root1;root2;...;rootn] if there is no root in the origin of the referential. i can get a column full of zeros or an empty vector. i can post the code of what i made if necessary.
 
Physics news on Phys.org
coluna.PNG
vazio.PNG
 
that is what i got so far. but I'm stuck here...