Gistlib Logo

gistlib

use matlab to calculate the quotient and the remainder of (18x^3 − 5x^2− 2x +3)/(3x^2+ 7x + 4" " ) in matlab

main.m
syms x
numerator = 18*x^3 - 5*x^2 - 2*x + 3;
denominator = 3*x^2 + 7*x + 4;
[quotient, remainder] = quorem(numerator, denominator, x);
135 chars
5 lines

similar matlab code snippets

how to calculate the volume of a sphere in matlab
how to calculate the area of a ellipse in matlab
how to calculate the secant of an angle in degrees in matlab
how to calculate the volume of a prism in matlab
how to calculate the first derivative of a function in matlab
how to calculate the arccosine of an angle in matlab
find the roots of a polynomial in matlab
how to calculate the arccosine of an angle in degrees in matlab
how to calculate the area of a triangle in matlab
find the slope of a set of points in matlab

related categories

matlab
mathematics

gistlibby LogSnag