I am trying to write a script that returns 2 answer for the quadratic equation.
And I want to be able to input whatever values for a,b,c I want.
I have written this in the script:
function [x1,x2] = quad_equation(a,b,c)
It runs fine, but it outputs with "ans" at the end, and I can't figure out how to get rid of it.
Any suggestions? :)