Find fractional exp. root

2 ビュー (過去 30 日間)
Emre
Emre 2024 年 2 月 13 日
編集済み: the cyclist 2024 年 2 月 13 日
How can I find root of this ? . 1/s + 1/s+3 + 1/s+10 = 0

採用された回答

the cyclist
the cyclist 2024 年 2 月 13 日
編集済み: the cyclist 2024 年 2 月 13 日
I assume your equation is
1/s + 1/(s+3) + 1/(s+10) = 0
There are a couple different ways:
% With the Symbolic Math Toolbox
syms s
solve(1/s + 1/(s+3) + 1/(s+10))
ans = 
% Numerically in base MATLAB. (Required multiplying through by the
% denominator terms, to get the coefficients.)
roots([3 26 30])
ans = 2x1
-7.2961 -1.3706
Also, you didn't really MATLAB here. Just the quadratic formula.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by