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

Create a text file with simulated data. Calculate an experimental y using the first function and some reasonable values for the parameters Add noise Save the x values and ca

How can I separate a row vector into groups.

Illustration of script Documentation: For illustration, the script to compute the area of a circle could be modified to have comments: The first comment at the startin

why after i crop part of a tiff image the cropped image is of different pixel resolution

Use an expression for the far-field radiation from a plane circular piston to create a more accurate model of a column loudspeaker system - you will need to calculate individual so

how can i model this eqn: solve n plot x vs v x^3-2x^2+x=v^2(.532*10^-3) by putting v=0 to 20 and find the change in x

plase help me to convert a theory part of ammonia-vapour simple absorption system into matlab programmong

I have a file to be read in matlab which carries different columns in it. Each column has around 200000 readings in set of 2000. I want a code in a loop which gives stores each col