Like this: a([1,3],:)
The comma separates the dimensions, :
means “entire range”, and square brackets make a list.
More Related Contents:
- How can I index a MATLAB array returned by a function without first assigning it to a local variable?
- Use a vector as an index to a matrix
- How can I change the values of multiple points in a matrix?
- What are the semantics of ‘end’ in Matlab?
- How to interpolate with MATLAB 3D usind scatteredinterpolant plot? [closed]
- how to get a single feature vector from SIFT descriptor [closed]
- Is it possible to define more than one function per file in MATLAB, and access them from outside that file?
- How to get all files under a specific directory in MATLAB?
- Generate random number with given probability matlab
- Matlab: Running an m-file from command-line
- How to concatenate a number to a variable name in MATLAB?
- Align already captured rgb and depth images
- Printing a MATLAB plot in exact dimensions on paper
- Deleting matrix elements by = [] vs reassigning matrix
- Retraining after Cross Validation with libsvm
- Proper way to add noise to signal
- Matlab file name with zero-padded numbers
- How can I sort a 2-D array in MATLAB with respect to one column?
- Attempt to execute script as a function
- What are some efficient ways to combine two structures in MATLAB?
- Difference of handle and values classes
- MATLAB: Differences between .mat versions
- In Matlab, is it possible to terminate a script, but save all its internal variables to workspace?
- How to change an image from Cartesian to Polar coordinates in Matlab?
- How to control the margin size around subplots?
- Indexing of unknown dimensional matrix
- Implementing anonymous functions in Fortran
- Customize dbstop in MATLAB
- How to apply a low-pass or high-pass filter to an array in Matlab?
- Remove xticks but keep xticklabels in MATLAB