what's the program mistake?

Più risposte (2)

Mischa Kim
Mischa Kim il 4 Giu 2014
Hello Ali, use instead
r = solve(b==0)

2 Commenti

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

Accedi per commentare.

Mahdi
Mahdi il 4 Giu 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 Commenti

MA
MA il 4 Giu 2014
it's wrong
Mahdi
Mahdi il 4 Giu 2014
Modificato: Mahdi il 4 Giu 2014
You will need to provide more information why you're not getting the answer that you want. Please read this.
MA
MA il 4 Giu 2014
error

Accedi per commentare.

Categorie

Scopri di più su Mathematics in Centro assistenza e File Exchange

Richiesto:

MA
il 4 Giu 2014

Risposto:

MA
il 10 Nov 2014

Community Treasure Hunt

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

Start Hunting!

Translated by