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
Modular programs: In a modular program, the answer is broken down into modules, and each is executed as a function. The script is usually known as the main program. In orde

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

I dont know how to input different videos on matlab program

analyzing traffic; determine motion of flow; calculate tracklets; detect abnormalities;

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

Use of Nested if-else statements: By using the nested if-else to select from among the three possibilities, not all the conditions should be tested. In this situation, if x is

Example of image processing: The other illustration generates a 5 × 5 matrix of arbitrary integers in the range from 1 to the number of colors; the resultant image is as shown

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