필터 지우기
필터 지우기

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

조회 수: 7 (최근 30일)
MissA
MissA 2012년 12월 12일
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

답변 (2개)

Muruganandham Subramanian
Muruganandham Subramanian 2012년 12월 12일
편집: Muruganandham Subramanian 2012년 12월 12일
try this:
a=0.3;
x=nthroot(a,(-1/3));
for more info,
>>help nthroot

Walter Roberson
Walter Roberson 2012년 12월 12일
roots([1 0 0 -a])

카테고리

Help CenterFile Exchange에서 Exponents and Logarithms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by