Solving a cubic equation using MATLAB

How to solve a cubic equation using Matlab Eg, if I have an equation with ax^3 + bx^2 + cx + d =0
if there are another variables how can I get equations for x ?
Please help. Thanks, M

回答 (1 件)

Roger Stafford
Roger Stafford 2013 年 5 月 14 日

0 投票

It looks as though you are interested in a symbolic rather than numeric solution. If 'solve' doesn't work, you may find the following article useful:
http://en.wikipedia.org/wiki/Cubic_function

カテゴリ

ヘルプ センター および File ExchangeSymbolic Math Toolbox についてさらに検索

質問済み:

2013 年 5 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by