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?

 채택된 답변

Stephen23
Stephen23 2017년 4월 29일
편집: Stephen23 2017년 4월 29일

1 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기

제품

질문:

2017년 4월 29일

댓글:

2017년 4월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by