Info
This question is closed. Reopen it to edit or answer.
URGENT!!!!!, AM NEW TO MATLAB AND I NEED THIS PROGRAM
2 views (last 30 days)
Show older comments
how do i go about WRITING A FUNCTION THAT WILL SOLVE CUBIC EQUATIONS whereby i would only have to input values and the equations solved. PLS URGENT ANSWER NEEDED.
3 Comments
Brian
on 5 May 2013
^hahahaha. As a load of people have helped me and as I haven't helped anyone yet, I think I can handle this one.
[ans] = cubic_fcn(a,b,c,d,x)
ans = a*x^3 + b*x^2 + c*x + d
"a" cubic fubction, it will get more complicated to change the signs
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!