Plus de réponses (2)

Mischa Kim
Mischa Kim le 4 Juin 2014

0 votes

Hello Ali, use instead
r = solve(b==0)

2 commentaires

MA
MA le 4 Juin 2014
Hi,it doesn't work
Mahdi
Mahdi le 4 Juin 2014
Why isn't it working? What's the error that you're getting?

Connectez-vous pour commenter.

Mahdi
Mahdi le 4 Juin 2014

0 votes

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

MA
MA le 4 Juin 2014
it's wrong
Mahdi
Mahdi le 4 Juin 2014
Modifié(e) : Mahdi le 4 Juin 2014
You will need to provide more information why you're not getting the answer that you want. Please read this.
MA
MA le 4 Juin 2014
error

Connectez-vous pour commenter.

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by