How to replace the variable s with the complex variable jw?

Hi everyone,
i'll explain my problem.
I have a polynomial P(s) and I would like to replace s with the complex variable jw in such a way as to solve the polynomial P(jw)=0 in the variable w.
possible solutions?

6 commentaires

Dyuman Joshi
Dyuman Joshi le 24 Août 2023
Déplacé(e) : Dyuman Joshi le 30 Août 2023
Assuming you are working with symbolic variables, use symbolic substitution - subs
mir
mir le 25 Août 2023
Déplacé(e) : Dyuman Joshi le 30 Août 2023
yes, but if i use subs to replace jw to s i can't solve the polynomial in the variable w.
"... can't solve the polynomial in the variable w."
What makes you think so?
syms x y z
z = x^2-3*x+2
z = 
z = subs(z,x,y)
z = 
out = solve(z)
out = 
@mir It would be better if you attach/copy-paste your code here and specify what is it that you are trying to do.
@mir, are you trying to solve this ?
@Sam Chak yes, i solved

Connectez-vous pour commenter.

Réponses (0)

Tags

Question posée :

mir
le 24 Août 2023

Commenté :

mir
le 31 Août 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by