About 732,000 results
Open links in new tab
  1. Matrices and Arrays - MATLAB & Simulink - MathWorks

    MATLAB is an abbreviation for "matrix laboratory." While other programming languages mostly work with numbers one at a time, MATLAB® is designed to operate primarily on whole matrices and …

  2. Creating Matrices and Arrays - MATLAB & Simulink - MathWorks

    This example shows basic techniques for creating arrays and matrices using MATLAB. Matrices and arrays are the fundamental representation of information and data in MATLAB. To create an array …

  3. max - Maximum elements of array - MATLAB - MathWorks

    This MATLAB function returns the maximum elements of an array.

  4. sort - Sort array elements - MATLAB - MathWorks

    If A is a vector, then sort(A) sorts the vector elements. If A is a matrix, then sort(A) treats the columns of A as vectors and sorts each column. If A is a multidimensional array, then sort(A) operates along the …

  5. Reshape array by rearranging existing elements - MATLAB - MathWorks

    This MATLAB function reshapes A using the size vector, sz, to define size(B).

  6. unique - Unique values - MATLAB - MathWorks

    To find unique rows in tables or timetables with respect to a subset of variables, you can use column subscripting. For example, you can use unique(A(:,vars)), where vars is a positive integer, a vector of …

  7. repmat - Repeat copies of array - MATLAB - MathWorks

    This MATLAB function returns an array containing n copies of A in the row and column dimensions.

  8. Extracting a Column from a Matrix in MATLAB - A Comprehensive …

    Column Extraction Basics Before diving into the details of extracting a column from a matrix, let’s first understand some basic terms associated with matrices in MATLAB: Rows and columns: A matrix is …

  9. Convert Table to Array in Matlab: A Quick Guide

    In MATLAB, a table is a data type that allows you to store data in a structured format, similar to a spreadsheet or a database table. Tables are particularly useful for managing mixed types of data, …

  10. How to Add Columns to Matrices in MATLAB Like an Expert

    Dec 27, 2023 · Adding columns to matrices plays an integral role in modifying datasets, financial models, and scientific simulations. As a MATLAB expert, I often explore powerful but intuitive matrix …