Format command, MATLAB Programming

Format command:

The format command can be used to control the spacing between the MATLAB command or expression and the outcome; it can be either compact or loose.

>> format loose

>> 2^7

ans =

128

>> format compact

>> 2^7

ans =

128

Particularly long expressions can be continued on the next line by typing three (or more) periods that is the continuation operator, or the ellipsis. For illustration,

>> 3 + 55 - 62 + 4 - 5 .   .   .

+ 22 - 1

ans =

16

Posted Date: 10/18/2012 3:31:29 AM | Location : United States







Related Discussions:- Format command, Assignment Help, Ask Question on Format command, Get Answer, Expert's Help, Format command Discussions

Write discussion on Format command
Your posts are moderated
Related Questions
ACTIVITIES OF A PROJECT 1-2 1-3 1-4 1-5 2-6 3-6 3-7 4-7 5-7 7-6 6-8 7-8 THE COMMPANY LOSES 2,000 FOR EVERY WEEK THE PROJECT LASTS BEYOND 30 WEEKS. fOR EACH OF THE PROPOSALS; ACTIVI

i need matlab code on 2 dimensional analysis of temperature distribution in steel using finite element method

Printing - matrices: For matrices, the MATLAB unwinds the matrix column by column. For illustration, consider the random 2 × 3 matrix as shown below: >> mat = randint(2,3,[

I need a source code for hand detection in matlab please ....

Function char: The function char does the opposite; it converts from any number type to the type char: >> char(numequiv) ans = a As the letters of the alphabet are

#question.i want to know the number of pixels related to the actual phase value and want to separate the zero phase valued pixels from the image..

1;write the matlab of LU decomposion that can do any n*n matrix by considering scaling and pivoting?

Write a program in Mathlab for addition of two matrices.

Constants: The variables are used to store values which can change, or that are not known ahead of the time. Most of languages also have the capacity to store constants that a

You will need to implement at least two Matlab functions: HW3main.m and svmTrain.m. The implementation details are as follows: function [alpha] = svmTrain(X,T,kernel,C,sigma) %