How to find the roots of equations in Matlab v7.12

1 visualización (últimos 30 días)
MissA
MissA el 12 de Dic. de 2012
how can I find roots for equation x^3=a
where a is a defined variable = 0.3 (a=0.3) and '^' means 'power'
Please help
thanks MissA

Respuestas (2)

Muruganandham Subramanian
Muruganandham Subramanian el 12 de Dic. de 2012
Editada: Muruganandham Subramanian el 12 de Dic. de 2012
try this:
a=0.3;
x=nthroot(a,(-1/3));
for more info,
>>help nthroot

Walter Roberson
Walter Roberson el 12 de Dic. de 2012
roots([1 0 0 -a])

Categorías

Más información sobre Power and Energy Systems en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by