12/07/2014

To know about how to extract a column from an array or matrix in MATLAB consider the following form i.e
        variable-name=matrix-name(rows,columns)
where:  

  ?  Variable-name:
                             It  shows the place where you can name your variable in which you wanna                                  store your extracted data.

  ?  Matrix-name:
                       It shows the place where you have to place your matrix name or array name from which you                          wanna extract your desired data.
  ?              ( ):
                      we use these parenthesis to send a command to MATLAB that we are gonna tell you the                             address in terms of rows and columns of an array/matrix.
  ?          Rows:
                      It shows the place where you have to put the position of your desired row (e.g 1st row or 2nd                                           row etc) of a matrix/array that you wanna extract,.we will use : in this place  which means                          each row.
  ?      Columns:
                      It shows the place where you have to put the position of your desired column(e.g 1st column or 2nd                                 column etc) of a matrix/array that you wanna extract.
Forexample:
How to extract a column from a matrix/array in MATLAB.
Result of given below MATLAB code(how to extract column from matrix using MATLAB)

0 comments:

Post a Comment

Blog Archive

Popular Posts