Function numden, MATLAB in Engineering

function numden:

The function numden will return individually the numerator & denominator of a symbolic expression:

>> sym(1/3 + 1/2)

ans =

5/6

>> [n, d] = numden(ans)

n =

5

d =

6

>> [n, d] = numden((x^3 + x^2)/x)

n =

x^2*(x 1)

d =

x

 

 

Posted Date: 10/22/2012 4:36:35 AM | Location : United States







Related Discussions:- Function numden, Assignment Help, Ask Question on Function numden, Get Answer, Expert's Help, Function numden Discussions

Write discussion on Function numden
Your posts are moderated
Related Questions
Simplification Functions: There are numerous functions which work with expressions, and simplify the terms. Not all the expressions can be simplified, but the simplify functio

Matrix operations: There are some common operations on matrices. The operators which are applied term by term, implying that the matrices should be of similar size, sometimes

Creating the structure Variables: Creating a structure variable can be accomplished by simply storing the values in fields by using assignment statements, or by using the stru

Image Processing: The Images are represented as grids, or matrices, of picture elements (known as pixels). In MATLAB an image usually is represented as a matrix in which each

Gauss-Jordan: The Gauss-Jordan elimination technique begins in similar way which the Gauss elimination technique does, but then rather than of back-substitution, the eliminati

Splits a string : The strtok function splits a string into pieces; it can be called in many ways. The function receives one string as an input argument. It appears for the fir

Example of Interpolation and extrapolation: The MATLAB has a function to do this, known as polyfit. The function polyfit finds the coefficients of the polynomial of the partic

Square Matrices: If a matrix has similar number of rows and columns, for illustration, if m == n, the matrix is square matrix. The definitions which follow in this part apply

Algorithm for expfn function: The algorithm for expfn function is as shown:  receives the value of x as the input argument.  Prints the value of exp(x).  assigns a

Function rmfield - structure: The function rmfield eliminates a field from the structure. It returns a new structure with field eliminated, but does not modify the original st