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

Dyuman Joshi
Dyuman Joshi 2023년 8월 24일
이동: Dyuman Joshi 2023년 8월 30일
Assuming you are working with symbolic variables, use symbolic substitution - subs
mir
mir 2023년 8월 25일
이동: Dyuman Joshi 2023년 8월 30일
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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

태그

질문:

mir
2023년 8월 24일

댓글:

mir
2023년 8월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by