Creating matrix variables- arguments , MATLAB Programming

Creating matrix variables- arguments:

The CAT arguments dimensions are not reliable.

The Iterators can also be used for the values on the rows by using the colon operator; for illustration:

>> mat = [2:4; 3:5]

mat =

2 3 4

3 4 5

Different rows in the matrix can be specified by pressing the Enter key after each row rather than of typing a semicolon when entering into the matrix values; for illustration:

>> newmat = [2 6 88

33 5 2]

newmat =

 2 6 88

33 5  2

 

 

Posted Date: 10/18/2012 4:19:44 AM | Location : United States







Related Discussions:- Creating matrix variables- arguments , Assignment Help, Ask Question on Creating matrix variables- arguments , Get Answer, Expert's Help, Creating matrix variables- arguments Discussions

Write discussion on Creating matrix variables- arguments
Your posts are moderated
Related Questions


how to code this function

The MATLAB system having of five main parts: * Handle Graphics. * The MATLAB working environment. * The MATLAB language. * The MATLAB mathematical function library.

Q. Explain Power system toolbox ? Power system toolbox (PST) was developed to enable users to perform power system analysis within MATLAB. PST may be used on any computer syste

i want to extract an image from its background in matlab..the image is a binary image

how to write a program to determine the day of the week. using GUI.

can you please help me with matlab coding for CMP? I am new to matlab and hence need help

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

Scripts to Produce and Customize the Simple Plots: The MATLAB has many graphing capabilities. In most cases, customizing plots are desired and this is the simplest to accompli