Rules for variable names, MATLAB Programming

Rules for variable names:

In addition, the variable names must always be mnemonic that means they should make some sense. For illustration, if the variable is storing the radius of a circle, a name like "radius" would make sense; "x" perhaps wouldn't.

The Workspace Window represents the variables which have been created in the present Command Window and their values.

The commands shown below associate to variables:

(i) Who shows variables which have been defined in this Command Window (this merely represents the names of the variables)

(ii) Who shows variables which have been defined in this Command Window (this represents more information on the variables, likewise to what is in the Workspace Window)

(iii) Clear clears out all the variables, therefore they no longer exists.

(iv) Clear variablename clears out a specific variable.

 

Posted Date: 10/18/2012 3:28:47 AM | Location : United States







Related Discussions:- Rules for variable names, Assignment Help, Ask Question on Rules for variable names, Get Answer, Expert's Help, Rules for variable names Discussions

Write discussion on Rules for variable names
Your posts are moderated
Related Questions
Mathematical operation: For numerical operands, the use of such operators is clear-cut. For illustration, 3 >> 3 ans = 1 >> 9 ans = 0 Though, in the Wo


how to design a digital fir filter using anfis in matlab.get the code for that.

Consider the function: f(x) = 7 - 28x + 42x 2 - 28x 3 + 7x 4 : Write a script findPolyRoot.m to nd, as accurately as you can, the root of f(x) near x = 2. Your script mu

what equation equals 36

The mass of the spring-mass-damper system shown below was initially displaced by 1 meter to the right and then released. The subsequent acceleration of the mass was measured using

what is an error and its types

Write a program in Mathlab for addition of two matrices.

Variable names: Variable names are an example of the identifier names. The rules for identifier names are as shown below: (A)The name should begin with a letter of the alph