Find Roots of Function & Return Column Vector

Click For Summary
SUMMARY

The discussion focuses on creating a function in MATLAB that identifies and returns the roots of a polynomial in a specific format. The function must return a column vector containing the roots located in the left semiplane, appending a zero if there is exactly one root at the origin. The user is currently facing challenges in achieving the desired output format and is open to sharing their existing code for further assistance.

PREREQUISITES
  • Proficiency in MATLAB programming
  • Understanding of polynomial roots and their properties
  • Familiarity with complex numbers and their representation in MATLAB
  • Knowledge of vector manipulation in MATLAB
NEXT STEPS
  • Review MATLAB's built-in functions for root finding, such as roots()
  • Explore MATLAB documentation on handling complex numbers
  • Learn about conditional statements in MATLAB for checking root conditions
  • Investigate vector formatting techniques in MATLAB to ensure proper output structure
USEFUL FOR

Mathematics students, MATLAB programmers, and engineers working on control systems or signal processing who need to analyze polynomial roots effectively.

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...
 

Similar threads

Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
1
Views
2K