MATLAB - Transpose Of A Matrix - Tutorialspoint

Home Whiteboard Graphing Calculator Online Compilers Practice Articles Tools Chapters Categories Library Courses Certifications Login Matlab Tutorial
  • MATLAB - Home
  • MATLAB - Overview
  • MATLAB - Features
  • MATLAB - Environment Setup
  • MATLAB - Editors
  • MATLAB - Online
  • MATLAB - Workspace
  • MATLAB - Syntax
  • MATLAB - Variables
  • MATLAB - Commands
  • MATLAB - Data Types
  • MATLAB - Operators
  • MATLAB - Dates and Time
  • MATLAB - Numbers
  • MATLAB - Random Numbers
  • MATLAB - Strings and Characters
  • MATLAB - Text Formatting
  • MATLAB - Timetables
  • MATLAB - M-Files
  • MATLAB - Colon Notation
  • MATLAB - Data Import
  • MATLAB - Data Output
  • MATLAB - Normalize Data
  • MATLAB - Predefined Variables
  • MATLAB - Decision Making
  • MATLAB - Decisions
  • MATLAB - If End Statement
  • MATLAB - If Else Statement
  • MATLAB - If…Elseif Else Statement
  • MATLAB - Nest If Statememt
  • MATLAB - Switch Statement
  • MATLAB - Nested Switch
  • MATLAB - Loops
  • MATLAB - Loops
  • MATLAB - For Loop
  • MATLAB - While Loop
  • MATLAB - Nested Loops
  • MATLAB - Break Statement
  • MATLAB - Continue Statement
  • MATLAB - End Statement
  • MATLAB - Arrays
  • MATLAB - Arrays
  • MATLAB - Vectors
  • MATLAB - Transpose Operator
  • MATLAB - Array Indexing
  • MATLAB - Multi-Dimensional Array
  • MATLAB - Compatible Arrays
  • MATLAB - Categorical Arrays
  • MATLAB - Cell Arrays
  • MATLAB - Matrix
  • MATLAB - Sparse Matrix
  • MATLAB - Tables
  • MATLAB - Structures
  • MATLAB - Array Multiplication
  • MATLAB - Array Division
  • MATLAB - Array Functions
  • MATLAB - Functions
  • MATLAB - Functions
  • MATLAB - Function Arguments
  • MATLAB - Anonymous Functions
  • MATLAB - Nested Functions
  • MATLAB - Return Statement
  • MATLAB - Void Function
  • MATLAB - Local Functions
  • MATLAB - Global Variables
  • MATLAB - Function Handles
  • MATLAB - Filter Function
  • MATLAB - Factorial
  • MATLAB - Private Functions
  • MATLAB - Sub-functions
  • MATLAB - Recursive Functions
  • MATLAB - Function Precedence Order
  • MATLAB - Map Function
  • MATLAB - Mean Function
  • MATLAB - End Function
  • MATLAB - Error Handling
  • MATLAB - Error Handling
  • MATLAB - Try...Catch statement
  • MATLAB - Debugging
  • MATLAB - Plotting
  • MATLAB - Plotting
  • MATLAB - Plot Arrays
  • MATLAB - Plot Vectors
  • MATLAB - Bar Graph
  • MATLAB - Histograms
  • MATLAB - Graphics
  • MATLAB - 2D Line Plot
  • MATLAB - 3D Plots
  • MATLAB - Formatting a Plot
  • MATLAB - Logarithmic Axes Plots
  • MATLAB - Plotting Error Bars
  • MATLAB - Plot a 3D Contour
  • MATLAB - Polar Plots
  • MATLAB - Scatter Plots
  • MATLAB - Plot Expression or Function
  • MATLAB - Draw Rectangle
  • MATLAB - Plot Spectrogram
  • MATLAB - Plot Mesh Surface
  • MATLAB - Plot Sine Wave
  • MATLAB - Interpolation
  • MATLAB - Interpolation
  • MATLAB - Linear Interpolation
  • MATLAB - 2D Array Interpolation
  • MATLAB - 3D Array Interpolation
  • MATLAB - Polynomials
  • MATLAB - Polynomials
  • MATLAB - Polynomial Addition
  • MATLAB - Polynomial Multiplication
  • MATLAB - Polynomial Division
  • MATLAB - Derivatives of Polynomials
  • MATLAB - Transformation
  • MATLAB - Transforms
  • MATLAB - Laplace Transform
  • MATLAB - Laplacian Filter
  • MATLAB - Laplacian of Gaussian Filter
  • MATLAB - Inverse Fourier transform
  • MATLAB - Fourier Transform
  • MATLAB - Fast Fourier Transform
  • MATLAB - 2-D Inverse Cosine Transform
  • MATLAB - Add Legend to Axes
  • MATLAB - Object Oriented
  • MATLAB - Object Oriented Programming
  • MATLAB - Classes and Object
  • MATLAB - Functions Overloading
  • MATLAB - Operator Overloading
  • MATLAB - User-Defined Classes
  • MATLAB - Copy Objects
  • MATLAB - Algebra
  • MATLAB - Linear Algebra
  • MATLAB - Gauss Elimination
  • MATLAB - Gauss-Jordan Elimination
  • MATLAB - Reduced Row Echelon Form
  • MATLAB - Eigenvalues and Eigenvectors
  • MATLAB - Integration
  • MATLAB - Integration
  • MATLAB - Double Integral
  • MATLAB - Trapezoidal Rule
  • MATLAB - Simpson's Rule
  • MATLAB - Miscellenous
  • MATLAB - Calculus
  • MATLAB - Differential
  • MATLAB - Inverse of Matrix
  • MATLAB - GNU Octave
  • MATLAB - Simulink
  • MATLAB - Quick Guide
  • MATLAB - Useful Resources
  • MATLAB - Discussion
  • Selected Reading
  • UPSC IAS Exams Notes
  • Developer's Best Practices
  • Questions and Answers
  • Effective Resume Writing
  • AI Based Resume Builder
  • Personal AI Study Assistant
  • Generate Coding Logic
  • HR Interview Questions
  • Computer Glossary
  • Who is Who
MATLAB - Transpose of a Matrix Previous Quiz Next

The transpose operation switches the rows and columns in a matrix. It is represented by a single quote(').

Example

Create a script file with the following code −

a = [ 10 12 23 ; 14 8 6; 27 8 9] b = a'

When you run the file, it displays the following result −

a = 10 12 23 14 8 6 27 8 9 b = 10 14 27 12 8 8 23 6 9 matlab_matrics.htm Print Page Previous Next Advertisements

Tag » What Is Transpose Of A Matrix