Finding missing array value of a singular matrix

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?

 Respuesta aceptada

Stephen23
Stephen23 el 29 de Abr. de 2017
Editada: Stephen23 el 29 de Abr. de 2017
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

Más respuestas (0)

Categorías

Más información sobre Mathematics and Optimization en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 29 de Abr. de 2017

Comentada:

el 29 de Abr. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by