フィルターのクリア

what's the program mistake?

1 回表示 (過去 30 日間)
MA
MA 2014 年 6 月 4 日
回答済み: MA 2014 年 11 月 10 日
clear all clc; syms x A=[x 2 1;1 0 -x;5 1 x]; b=det(A) r=solve('b=0','x')

採用された回答

MA
MA 2014 年 11 月 10 日

その他の回答 (2 件)

Mischa Kim
Mischa Kim 2014 年 6 月 4 日
Hello Ali, use instead
r = solve(b==0)
  2 件のコメント
MA
MA 2014 年 6 月 4 日
Hi,it doesn't work
Mahdi
Mahdi 2014 年 6 月 4 日
Why isn't it working? What's the error that you're getting?

サインインしてコメントする。


Mahdi
Mahdi 2014 年 6 月 4 日
Try this?
clear all
clc;
syms x
A=[x 2 1;1 0 -x;5 1 x];
b=det(A)
r=eval(solve(b==0))
  3 件のコメント
Mahdi
Mahdi 2014 年 6 月 4 日
編集済み: Mahdi 2014 年 6 月 4 日
You will need to provide more information why you're not getting the answer that you want. Please read this.
MA
MA 2014 年 6 月 4 日
error

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by