Filter löschen
Filter löschen

Finding missing array value of a singular matrix

3 Ansichten (letzte 30 Tage)
Ollie
Ollie am 29 Apr. 2017
Kommentiert: Ollie am 29 Apr. 2017
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?

Akzeptierte Antwort

Stephen23
Stephen23 am 29 Apr. 2017
Bearbeitet: Stephen23 am 29 Apr. 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

Weitere Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by