Finding missing array value of a singular matrix

1 回表示 (過去 30 日間)
Ollie
Ollie 2017 年 4 月 29 日
コメント済み: Ollie 2017 年 4 月 29 日
How do I use matlab to find the value of x that makes the matrix A = [2,5,7;-2,3,-4;1,5,x] singular ie has determinant zero?

採用された回答

Stephen23
Stephen23 2017 年 4 月 29 日
編集済み: Stephen23 2017 年 4 月 29 日
A simple numerical solution using fzero:
>> fun = @(x)det([2,5,7;-2,3,-4;1,5,x]);
>> x = fzero(fun,0.1)
x =
4.4375
>> fun(x)
ans =
0
  1 件のコメント
Ollie
Ollie 2017 年 4 月 29 日
Thank you very much

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

その他の回答 (0 件)

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by