MATLAB: What’s the program mistake solve polynomials equation clear all clc; syms x A=[x 2 1;1 0 -x;5 1 x]; b=det(A) r=solve('b=0','x') Best Answer r=solve(b) Related SolutionsMATLAB: What is the mistake syms xA=[x 2 1;1 0 -x;5 1 x];x=-15:.1:15;plot(x,subs(det(A),x))grid on MATLAB: How can i solve this polynomial equation syms xA=[x 2 1;1 0 -x;5 1 x]r=double(solve(det(A),x)) Related QuestionWhat’s the program mistakeWhere is the mistakeWhere is the mistakeCheck the code mistake
Best Answer