learn the Two-Dimensional Arrays in matlab

If the matrix has many components, you can media Get into and proceed coming into on the next range. MATLAB knows you are nished coming into the matrix when you kind the ending segment .
 
June 15, 2012 - PRLog -- A range having lines and content is a two-dimensional range that is sometimes known as a matrix. In statistical written text, if possible, vectors are usually denoted by boldface lowercase characters and matrices by boldface uppercase characters. An example of a matrix having three lines and two content is
2 5
M = - 3 4
- 7 1
We consult the dimension an range by the variety of lines and the variety of content. For example, an range with 3 lines and 2 content is said to be a 3 2 range. The variety of lines is always mentioned rst! We sometimes signify a matrix A as [aij] to indicate its components aij. The subscripts i and j, known as spiders, indicate the row and pillar place of the factor aij. The row variety must always come rst! For example, the factor a32 is in row 3, pillar 2. Two matrices A and B are equivalent if they have the same dimension and if all their corresponding components are equivalent, that is, aij bij for every value of i and j.
Creating Matrices
The most immediate way to make a matrix is to kind the matrix row by row, separat- ing the components in a given row with areas or commas and splitting the lines with semicolons. Supports are necessary. For example, coming into >>A = [2,4,10;16,3,7]; makes the following matrix:
A = c     2           4         10                  d
          16           3            7

If the matrix has many components, you can media Get into and proceed coming into on the next range. MATLAB knows you are nished coming into the matrix when you kind the ending segment (]).
You can add a row vector to another row vector to make either a third row vector or a matrix (if both vectors have the same variety of columns). Observe the change between the outcomes given by [a,b] and [a;b] in the following session:
>>a = [1,3,5];
>>b = [7,9,11];
>>c = [a,b]

c =1 3 5 7 9 11
>> D = [a;b]
D =
              1 3 5
             7 9 11

visit: http://www.expertsmind.com/MATLAB-homework-assignment-hel...
End
Source: » Follow
Email:***@expertsmind.com Email Verified
Tags:Matlab Help, Online Tutoring
Industry:Education
Location:New City - New York - United States
Account Email Address Verified     Account Phone Number Verified     Disclaimer     Report Abuse
Experts Mind IT Educational Pvt Ltd PRs
Trending News
Most Viewed
Top Daily News



Like PRLog?
9K2K1K
Click to Share