Feeds
提问
How do I get this function to accept one input argument, a vector representing the three coefficients of the quadratic in the order a, b, c?
function[quadRoots, disc] = Q1(coeff) %function solves quadratic equation in the form ax^2 + bx + c = 0 a= coeff(1,1); b=...
6 years 前 | 1 个回答 | 0
