what's the program mistake?
Show older comments
clear all clc; syms x A=[x 2 1;1 0 -x;5 1 x]; b=det(A) r=solve('b=0','x')
Accepted Answer
More Answers (2)
Mischa Kim
on 4 Jun 2014
Hello Ali, use instead
r = solve(b==0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!