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 Kommentare

Dyuman Joshi
Dyuman Joshi am 24 Aug. 2023
Verschoben: Dyuman Joshi am 30 Aug. 2023
Assuming you are working with symbolic variables, use symbolic substitution - subs
mir
mir am 25 Aug. 2023
Verschoben: Dyuman Joshi am 30 Aug. 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Gefragt:

mir
am 24 Aug. 2023

Kommentiert:

mir
am 31 Aug. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by