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
Data structures: The Data structures are variables which store more than one value. In order to made sense to store more than one value in a variable, the values must in some

calcrectarea subfunction: function call: area = calcrectarea(len,wid); function header: function area = calcrectarea(len, wid)   In the function call, the two arg

Replacing a string - function strrep: The function strrep finds all the occurrences of a substring within the string, and substitutes them with a new substring. The order of a

Storing Strings in Cell Arrays: The one good application of a cell array is to store strings of various lengths. As cell arrays can store various types of values in the elemen

Illustration of symbolic variable: When, on the other hand, z is a symbolic variable to start with, quotes are not required around the expression, and the words are automatica

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

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

Individual structure variable: The individual structure variable for one software package may look like this: The name of the structure variable is a package; it has f

Illustration of Vectors of structures: In this illustration, the packages are vector which has three elements. It is shown as a column vector. Each and every element is a stru

Program of passing arguments to functions: This was an illustration of a function which did not receive any input arguments nor did it return any output arguments; it easily a