12/07/2014

To know about how to extract a row 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.
  ?     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.we will use : in this place  which means  each column.
e.g 
How to extract a row from a matrix or array in MATLAB.
Result of  given below MATLAB code.


  To download MATLAB code as a detailed example click below:

0 comments:

Post a Comment

Blog Archive

Popular Posts