Illustration of symbolic variable, MATLAB in Engineering

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 automatically collected:

>> z = sym('z');

>> sym(z^3 + 2*z^3)

ans =

3*z^3

When you want to use the multiple variables as symbolic variable names, the syms function is a shortcut rather than of using sym repetitively. The illustration is as follows,

>> syms x y z

does similar thing as

>> x = sym('x');

>> y = sym('y');

>> z = sym('z');

 

 

Posted Date: 10/22/2012 4:32:13 AM | Location : United States







Related Discussions:- Illustration of symbolic variable, Assignment Help, Ask Question on Illustration of symbolic variable, Get Answer, Expert's Help, Illustration of symbolic variable Discussions

Write discussion on Illustration of symbolic variable
Your posts are moderated
Related Questions
Execute a exponential function program: Running the script will take up the menu as shown in the figure: Then, what happens will totally depend on which button(s) the

I have a vector of X, one for Y , one for x-direction velocity U and one for y-direction velocity V. they are at same size. How can I plot streamline of that flow? I follow all exa

Evaluating a string: The function eval is used to compute a string as a function. For illustration, below is the string 'plot(x)'is interpreted to be a call to plot the functi

Built-in colormaps: The MATLAB has numerous built-in colormaps which are named; the reference page on colormap shows them. Calling the function colormap without passing any ar

Scaling:   change a row by multiplying it by a non-zero scalar sri →  ri For illustration, for the matrix:

Illustration of gauss-jordan elimination: An illustration of interchanging rows would be r1 ¬→ r3, that would results: Now, beginning with this matrix, an illustration of sc

Illustration of Set operations: For illustration, given the vectors as shown below: >> v1 = 2:6 v1 = 2  3  4  5  6 >> v2 = 1:2:7 v2 = 1  3  5  7

Text graphic function - Graphics objects: The text graphic function permits text to be printed in a Figure Window, involving special characters which are printed by using \spe

Illustration of Sorting strings: To sort on the rows rather than second dimension should be specified. >> sort(words,2) ans = Hello Hdowy Hi Gbdeo

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