Finding missing array value of a singular matrix

1 次查看(过去 30 天)
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by