what's the program mistake?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
clear all clc; syms x A=[x 2 1;1 0 -x;5 1 x]; b=det(A) r=solve('b=0','x')
0 commentaires
Réponse acceptée
Plus de réponses (2)
Mahdi
le 4 Juin 2014
Try this?
clear all
clc;
syms x
A=[x 2 1;1 0 -x;5 1 x];
b=det(A)
r=eval(solve(b==0))
3 commentaires
Voir également
Catégories
En savoir plus sur Linear Algebra dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!