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
Matrix solutions to systems of the linear algebraic equations: The linear algebraic equation is an equation of the form a 1 x 1 + a 2 x 2 + a 3 x 3    .  .  .  .  a n x n

Related Structure Functions: There are many functions which can be used with structures in a MATLAB. The function isstruct will return 1 for logical true when the variable arg

I have a 400x2 vel.dat and 20x2 xy.dat file, how can i plot a streamslice graph on matlab with this two files.

Illustration sorting vectors of structures: This function sorts the structures depend only on the price field. A more common function is shown next, that receives a string whi

Symbolic Variables and expressions: The MATLAB has a type known as sym for the symbolic variables and expressions; these work with strings. The illustration, to generate a sym

Referring to and Showing Cell Array Elements and Attributes: Just as with the other vectors, we can refer to individual elements of the cell arrays. The only difference is tha

Illustration of gauss-jordan: Here's an illustration of performing such substitutions by using MATLAB >> a = [1 3 0; 2 1 3; 4 2 3] a = 1 3 0 2 1 3 4 2

Vectors of Structures: In numerous applications, involving database applications, information generally would be stored in the vector of structures, instead of in individual s

Function cellplot - Cell array: The function cellplot place a graphical display of the cell array in a figure Window; though, it is a high-level view and fundamentally just di

Defined a variable in work space: The variables defined in the script will become a part of the workspace: >> clear >> who >> mysummfile    15 >> who