MATLAB

Rediscover MATLAB

New tools for building apps, writing scripts, and team-based software development. More options for data analytics, machine learning, and deep learning.

And by the way, MATLAB is faster than ever. Take a closer look.

Live Editor

Create scripts that not only capture your code – they tell a story you can share with others.  Automated, contextual hints keep you moving quickly as you program, with results and visualizations displayed together with your code.

App Designer

App Designer lets you create professional apps without having to be a professional software developer. Drag and drop visual components to lay out the design of your app, and use the integrated editor to quickly program the app’s behavior. 

Data Analysis

You’ve got data – don’t spend all your time preparing it for analysis. Use new tools and functions in MATLAB for importing, cleaning, filtering, and grouping your data, and start analyzing it more quickly.

Big Data

There's no need to learn big data programming – tall arrays in MATLAB let you use the same code and syntax you're already used to, even if your datasets don’t fit in memory. And MATLAB works with the storage systems you already use, including traditional file systems, SQL and NoSQL databases, and Hadoop/HDFS.

Performance

MATLAB runs your code almost twice as fast as it did just two years ago. And there’s no need to change a single line of your code.

Graphics

The MATLAB graphics system makes creating and customizing plots easy, and new default colors, fonts, and styles make your data easier to interpret. Explore new plots, including: 

Team-Based Development

As the size and complexity of your projects grow, MATLAB provides capabilities to support collaborative software development practices.

Data Analytics

With MATLAB, you can do data science yourself, no matter the business or engineering data you’re working with. Run your analytics anywhere, whether you’re deploying applications that run on traditional IT or embedded platforms.

Deep Learning

MATLAB makes deep learning accessible for everyone, even if you’re not an expert. Design your own models, access the latest models, or import pretrained models from Caffe. Use NVIDIA GPUs to train them. Automatically generate CUDA code for embedded deployment.

Get a Free Trial

30 days of exploration at your fingertips.

Ready to Buy?

Purchase MATLAB and explore related products.


Are You a Student?

Get MATLAB and Simulink student software.

New Features by Release

Desktop

  • Live Editor: Write MATLAB commands with automated, contextual hints for arguments, property values, and alternative syntaxes​​​​​
  • Live Editor: Export live scripts to LaTeX format​​​​​​​​​
  • Live Editor: Display high-resolution plots in PDF output​​​
  • Live Editor: Horizontally align text, equations, and images​​​​​​​​​​​
  • Documentation: Use the Live Editor in a web browser to open, edit, and run MATLAB online documentation examples
  • MATLAB Drive: Store, access, and manage your files from anywhere
  • Add-On Manager: Customize your MATLAB environment by enabling and disabling add-ons​​​​​​
  • Add-On Manager: Find installed add-ons faster using sort and search​​​​​​​​​​
  • Toolbox Packaging: Create a Getting Started Guide for your toolbox from a Live Script template​​​​​​​​​​​​​
  • Toolbox Packaging: Share your toolbox on File Exchange directly when you package it​​​​

Language and Programming

  • Code Compatibility Report: Generate a report that helps the updating of code to a newer MATLAB release​​

Mathematics

  • decomposition Object: Solve linear systems repeatedly with improved performance
  • lsqminnorm Function: Find minimum-norm solution of underdetermined linear system
  • dissect Function: Reorder sparse matrix columns using nested dissection ordering
  • vecnorm Function: Compute vector-wise norms of arrays
  • polyshape Object: Create, analyze, and visualize 2-D polygons

Graphics

  • geobubble Function: Create an interactive map with bubbles whose size and color vary with data values
  • wordcloud Function: Display words at different sizes based on frequency or custom size data
  • binscatter Function: Visualize data density with dynamic bin size adjustment
  • Tall Array Support: Visualize out-of-memory data using plot, scatter, and binscatter
  • heatmap Function: Sort rows and columns and use custom labels in a heatmap
  • bar Function: Control individual bar colors

Data Import and Export

  • Custom Datastore: Build a customized datastore
  • datastore Function: Work with data stored in Windows Azure Blob Storage

Data Analysis

  • ischange Function: Detect abrupt changes in data
  • islocalmin and islocalmax Functions: Detect local minima and maxima in data
  • rescale Function: Scale data to a specified range
  • tall Arrays: Operate on tall arrays with more functions, including fillmissing, filter, median, polyfit, and synchronize
  • timetable Data Container: Specify whether each variable in a timetable contains continuous or discrete data using the VariableContinuity property

App Building

  • App Designer: Create apps with a wide variety of 2-D and 3-D plots
  • App Designer: Add menus to an app from the Component Library
  • App Designer: Specify input arguments when running an app
  • App Designer: Add a summary, description, and screenshot for app packaging and compiling
  • uitree and uitreenode Functions: Create trees and tree nodes in apps
  • uiconfirm Function: Create modal in-app confirmation dialog boxes
  • Toolbox Packaging: Add App Designer apps to the Apps Gallery upon toolbox installation
  • MATLAB Online: Run App Designer apps in MATLAB Online

Performance

  • App Designer: Load apps faster
  • Execution Engine: Improved performance for vectorized math on CPUs with AVX2​​​
  • Live Editor: Run live scripts with loops faster

Hardware Support

  • Arduino: Wirelessly connect to Arduino boards using low-cost Bluetooth adaptors
  • Arduino Setup UI: Set up a connection to your Arduino board over USB, Bluetooth, or WiFi
  • Arduino Plug-In Detection: Discover available Arduino support and examples when plugging a compatible Arduino board

Advanced Software Development

  • MATLAB Engine API for C++: Run MATLAB code from C++ programs with object-oriented programming support and asynchronous execution
  • MATLAB Engine API for C++: Pass data between C++ programs and MATLAB using MATLAB Data Array
  • Java SE 8: MATLAB support, providing improved security and access to new Java features​​​
  • MinGW 5.3: MATLAB support​​​
  • Microsoft Visual Studio 2017: MATLAB support for Microsoft Visual Studio 2017 Community, Professional, and Enterprise editions​
  • Python Version 3.6: MATLAB support
  • MATLAB Handle class method: Add a listener for an event without binding the listener to the source object
  • Unit Testing Framework: Provide code coverage reports in the Cobertura format for improved continuous integration workflows​​​

See the Release Notes for details.

Desktop

  • Live Editor: Edit a figure interactively including title, labels, legend, and other annotations
  • Live Editor: Get suggestions for mistyped commands and variables
  • Live Editor: Copy live script outputs to other applications
  • Live Editor: Hover over variables to see their current value
  • Add-On Explorer: Discover and install File Exchange submissions hosted on GitHub in Add-On Explorer
  • MATLAB Online: Access MATLAB through your web browser

Language and Programming

  • string Arrays: Create string arrays using double quotes
  • missing Function: Assign missing values in core data types, including doubledatetime, and string arrays
  • issortedrows Function: Determine if matrix and table rows are sorted
  • sort and sortrows Functions: Specify options for sorting complex numbers and placing missing elements
  • issorted Function: Query sort order with monotonic, strictly monotonic, strictly ascending, and strictly descending options

Graphics

  • heatmap Function: Visualize table or matrix data as a heatmap
  • legend Function: Create legends that update when data is added to or removed from the axes
  • Categorical Plotting: Use categorical data in common plotting functions and customize axes with categorical rulers
  • histogram Function: Plot histograms of datetime and duration data

Data Import and Export

  • datastore and tabularTextDatastore Functions: Automatically detect and return date and time data in text files​
  • Import Tool: Import strings and categorical arrays interactively
  • detectImportOptions Function: Control import properties of fixed-width text files
  • RESTful web services: Support for PUT and DELETE HTTP methods in webreadwebwrite, and websave​​​

Data Analysis

  • tall Arrays: Operate on tall arrays with more functions, including ismembersortconv, and moving statistics functions
  • isoutlier and filloutliers Functions: Detect and replace outliers in an array or table
  • smoothdata Function: Smooth noisy data in an array or table with filtering or local regression
  • summary Function: Calculate summary statistics and variable information in tables and timetables
  • movmad and movprod Functions: Compute moving median absolute deviation and moving product of an array
  • bounds Function: Simultaneously determine the smallest and largest elements of an array
  • fillmissing Function: Replace missing data in an array or table using moving mean or moving median option

App Building

  • App Designer: Learn to build apps using an interactive tutorial
  • App Designer: Zoom and pan plots
  • App Designer: Configure columns of a table to automatically fill the entire width of the table
  • App Designer: Manage common design-time settings using the Preferences dialog box

Performance

  • Execution Engine: Improved performance for setting MATLAB object properties
  • save Function: Save MAT v7.3 files without compression for improved performance on some storage devices
  • memoize Function: Cache results of a function to avoid rerunning when called with the same inputs
  • Scripts: Improved performance of scripts with lower script overhead
  • try, catch Block: Improved performance of try blocks with lower execution overhead

Hardware Support

  • Arduino: Read from quadrature encoders
  • Arduino: Wirelessly connect to Arduino MKR1000 board over WiFi

Advanced Software Development

  • Object Properties: Validate object property values by their type, size, shape, or other parameters​​
  • Mocking Framework: Isolate a portion of a system to test by imitating behavior of dependent components
  • Unit Testing Framework: Capture screenshots and figures generated during tests using TestReportPlugin
  • Unit Testing Framework: Control runtests function with debug, strict, and verbosity options​
  • Performance Testing Framework: View statistics from test measurements with the sampleSummary method

See the Release Notes for details.

Desktop

  • ​Live Editor: Pan, zoom, and rotate axes in output figures​
  • Live Editor: Create and edit equations interactively using the equation editor​
  • Live Editor: Create new sections and format text quickly using autoformatting​
  • Command Window: View updated display for arrays, including headers indicating class, size, and shape
  • Product Trials: Download trials for MathWorks products using Add-On Explorer​
  • Toolbox Packaging: Include live script examples, generate info.xml and helptoc.xml templates for custom documentation, and modify Java class path on installation

Language and Programming

  • Functions in Scripts: Define local functions in scripts for improved code reuse and readability
  • string Array: Manipulate, compare, and store text data efficiently (watch video – 4:00)​
  • timetable Data Container: Manage time-stamped tabular data with time-based indexing and synchronization (watch video – 3:49)​​​
  • timerange Function: Access all data in a specified date and time range in a timetable
  • vartype Function: Access all variables of a specified datatype in a table
  • table Data Container: Reference all variables in a table with compatible types using the Variables property
  • dir Function: Search for folders and subfolders recursively

Mathematics

  • Implicit Expansion: Apply element-wise operations and functions to arrays with automatic expansion of dimensions of length 1
  • graph and digraph Objects: Compute graph isomorphism, biconnected components, cut vertices, and node condensation
  • graph and digraph Objects: Visualize graphs and networks in 3-D
  • digraph Object: Reverse edge directions in a directed graph using the flipedge function

Graphics

  • Date and Time Plotting: Use datetime or duration data in common plotting functions, and customize plots with datetime and duration rulers
  • polarscatter and polarhistogram Functions: Create scatter and histogram plots in polar coordinates
  • fimplicit and fimplicit3 Functions: Plot implicit functions of the form f(x,y) = 0 and f(x,y,z) = 0
  • Tick Formatting Functions: Customize text, position, rotation, and format for axis tick labels
  • errorbar Function: Create vertical and horizontal error bars and control hat width
  • plot Function: Control location and frequency of markers with the MarkerIndices property

Data Import and Export

  • readtable Function: Autom​atically detect and return date and time data in text and spreadsheet files
  • dete​ctImportOptions Function: Detect layout of text and Excel files and customize import options to readtable​
  • VideoReader Object: Read video frames more quickly from MP4 and MOV files on Windows systems
  • imageDa​tastore Function: Read batches of images for faster processing in machine learning and computer vision applications
  • TallDatastore Object: Efficiently retrieve preprocessed and cleaned-up data saved using the write function of the MATLAB tall arrays
  • jsondecode, jsonencode Functions: Encode and decode structured data in JSON-formatted text

Data Analysis

  • tall Arrays: Manipulate and analyze data that is too big to fit in memory (watch video – 5:25)
  • Missing Data Functions: Find, fill, and remove missing data from arrays or tables with ismissing, standardizeMissing, fillmissing, and rmmissing
  • Cumulative Functions: Ignore NaNs using 'omitnan' in cumsum, cummin, and cummax
  • discretize Function: Discretize datetime and duration arrays to separate time-stamped data into regular time intervals
  • Constrained Pan and Zoom: Pan or zoom in a single dimension for 2-D and 3-D plots

App Building

  • App Designer: Include common 2-D plots in apps, such as area, bar, contour, histogram, yyaxis, and function plots
  • App Designer: Create legends for 2-D plots in apps
  • App Designer: Embed tabular displays using uitable in apps
  • App Designer: Create callback functions that can be shared across multiple components
  • App Designer: Add, position, and resize labeled components, and create components with names derived from labels

Performance

  • Graphics Display: Render plots with large numbers of markers faster using less memory
  • Execution Engine: Execute tight loops with scalar math faster​​
  • Execution Engine: Construct objects faster​​​

Hardware Support

  • ​iPhone and Android Sensors: Log data from mobile sensors on the MathWorks Cloud over a Wi-Fi or cellular network​
  • Arduino: Write to shift registers
  • Raspberry Pi: Generate PWM signals and control servo motors from GPIO pins on Raspberry Pi
  • Raspberry Pi: Support for Raspberry Pi 3 Model B
  • Raspberry Pi: Read​ from sensors and write to the LED matrix on a Raspberry Pi Sense HAT​

Advanced Software Development

  • matlab.net.http Object: Access HTTP services with low-level protocol control
  • MATLAB Engine API for Java: Run MATLAB code from Java programs
  • matlab.mixin.SetGet: Allow inexact property names by default in calls to set and get
  • Unit Testing Framework: Generate Microsoft Word or Adobe PDF reports of a test run
  • Unit and Performance Testing Frameworks: Improve code reuse and readability by using local functions in script-based tests

See the Release Notes for details.

Desktop

  • Live Editor: Create and run live scripts with embedded output; add equations and images to enhance the interactive narrative (watch video – 4:35)
  • Toolboxes: Programmatically package and install custom MATLAB toolboxes with matlab.addons.toolbox package
  • Tab Completion: Complete parameter names and options in select MATLAB function calls
  • Pause Button: Pause the execution of a program from the Editor and enter debug mode

Language and Programming

  • datetime Object: Set the default locale and format of datetime objects through the Preference panel
  • zeros, ones, and eye Functions: Create logical arrays

Mathematics

  • Moving Statistics Functions: Calculate moving statistics using the movmean, movsum, movmedian, movmax, movmin, movvar, and movstd functions
  • datetime and duration Arrays: Compute standard deviations with std
  • datetime and duration Arrays: Ignore NaNs and NaTs using 'omitnan' or 'omitnat' in the functions mean, median, std, and sum
  • graph and digraph Classes: Analyze graphs and networks using centrality and nearest nodes functions
  • svds Function: Compute singular values with improved performance and convergence behavior with a wide variety of matrices
  • median Function: Compute medians with improved performance
  • cummin, cummax, cumprod, and cumsum Functions: Compute cumulative minimum, maximum, product, and sum with improved performance

Graphics

  • polarplot Function: Plot data in polar coordinates and modify properties of polar axes
  • yyaxis Function: Create charts with two y-axes and customize each y-axis individually
  • Legend Object: Add legend title and create callbacks to highlight plots when clicking legend items
  • histogram2 Function: Enable data linking and brushing for bivariate histograms
  • Function Plots: Visualize mathematical expressions as parametric line, surface, and contour plots
  • Graphics Display: Render plots with large numbers of markers faster
  • 3-D Pan and Zoom: Explore data with improved pan and zoom behavior for axes in a 3-D view

App Building

  • App Designer: Build MATLAB apps with line and scatter plots using an enhanced design environment and an expanded UI component set (watch video – 5:06)

Data Import and Export

  • writetable Function: Write to text files significantly faster, especially for large files
  • readtable Function: Read from Excel files with faster performance
  • writetable Function: Write to Excel files on Mac and Linux platforms
  • spreadsheetDatastore Function: Import and process data from a collection of Excel files
  • datastore Function: Import a TabularTextDatastore object with improved file format detection
  • ImageDatastore Object: Specify image labels using the Labels property and process with splitEachLabel, countEachLabel, and shuffle functions
  • fileDatastore Function: Create a custom datastore for a file collection too large to fit in memory
  • readtable Function: Read text files with automatic detection of delimiters, header lines, and variable names
  • tabularTextDatastore and imageDatastore Functions: Create objects to import large text and image data collections

Performance

  • Performance Testing Framework: Measure MATLAB code performance using the unit testing framework
  • Graphics Display: Render plots with large numbers of markers faster
  • writetable Function: Write to text files significantly faster, especially for large files
  • readtable Function: Read from Excel files with faster performance
  • median Function: Compute medians with improved performance
  • cummin, cummax, cumprod, and cumsum Functions: Compute cumulative minimum, maximum, product, and sum with improved performance

Hardware Support

  • Raspberry Pi: Acquire images from USB webcams
  • Arduino: Build custom add-ons to interface with additional hardware and software libraries

Advanced Software Development

  • Performance Testing Framework: Measure MATLAB code performance using the unit testing framework

See the Release Notes for details.

Version 8.5.1, part of Release 2015aSP1, includes bug fixes.

See the Release Notes for details.

Desktop

  • Add-On Explorer: Add capabilities to MATLAB, including community-authored and MathWorks toolboxes, apps, functions, models, and hardware support
  • Documentation: Find information faster with redesigned Help navigation and browser-style keyboard shortcuts
  • Tab Completion: Complete commands with corrected capitalization
  • Command Suggestions: Get suggested corrections for mistyped function names when calling help command

Language and Programming

  • findgroups and splitapply Functions: Split data into groups and apply functions to each group of data
  • NaT Function: Create array of Not-a-Time values
  • timezones Function: Display list of time zone names
  • help Command: Specify a variable as input to the help command instead of specifying the variable class name

Advanced Software Development

  • MATLAB Interface to Python: Clear Python class definitions with clear classes command, useful when reloading revised Python classes
  • MATLAB Interface to Python: Pass a handle to a Python function to other Python functions called from MATLAB
  • MATLAB Engine for Python: Call MATLAB functions and objects from Python by connecting to a running session of MATLAB
  • MEX Compiler Support: Compile MEX files with freely available MinGW-w64 compiler on 64-bit Windows
  • Unit Testing Framework: Improve continuous integration workflows with diagnostics from the TAP plugin and a JUnit-style XML plugin
  • Unit Testing Framework: Customize the test runner with plugins that immediately report finalized results and perform system-wide qualifications
  • Unit Testing Framework: Run tests in parallel when available using the runtests function with the UseParallel option
  • Unit Testing Framework: Detect and prevent warnings issued by tests using the new FailOnWarningsPlugin

Mathematics

  • graph and digraph Classes: Create, analyze, and visualize graphs and networks
  • histcounts2 Function: Bin bivariate data
  • deg2rad and rad2deg Functions: Convert between radians and degrees
  • datetime Arrays: Interpolate dates and times using interp1 function
  • duration Arrays: Perform computations on durations using interp1, eps, cummax, cummin, cumsum, mod, and rem functions

Data Import and Export

  • Excel Spreadsheets: Read and write to the same spreadsheet repeatedly with improved performance of xlsread, xlswrite, readtable, and writetable functions
  • datastore Function: Import data from image collections that are too large to fit in memory as an ImageDatastore
  • datastore Function: Import data from text files with support for additional character encoding schemes with TabularTextDatastore
  • VideoReader Object: Read streams of data more quickly from video files on Mac

Graphics

  • Graphics Display: Leverage DPI-aware MATLAB graphics for Apple Retina displays and high-resolution displays on Windows
  • Axes Object: Set the location of each axis in a plot to cross at the origin
  • Numeric Ruler Object: Customize tick format, exponent, and text style to control the appearance of an individual axis in a plot
  • histogram2 Function: Plot bivariate histograms with control over bins, normalization, and display
  • MATLAB Charts: Use transparency in bar, scatter, and area charts

GUI Building

  • UI Display: Create DPI-aware UIs for Apple Retina displays and high-resolution displays on Windows

Performance

  • MATLAB Execution Engine: Run programs faster with redesigned architecture
  • table Data Type: Access data with improved performance when using dot-parentheses
  • Categorical Arrays: Create a larger number of categories, with improved memory efficiency and performance

Hardware Support

  • Raspberry Pi 2 Model B: Acquire sensor and image data from Raspberry Pi 2 boards using the MATLAB Support Package for Raspberry Pi Hardware
  • BeagleBone Black: Acquire sensor and image data from BeagleBone Black boards using the MATLAB Support Package for BeagleBone Black Hardware
  • iOS Sensors: Acquire sensor data from Apple iOS mobile devices using the MATLAB Support Package for Apple iOS Sensors

See the Release Notes for details.

Desktop

  • Documentation: Integrate documentation for custom toolboxes into the MATLAB Help Browser
  • Array Size Limit: Limit maximum array size to prevent unintended creation of very large matrices
  • Tab Completion: Complete class properties and methods while editing class definition files

Language and Programming

  • repelem Function: Repeat copies of array elements to create a larger array

Mathematics

  • discretize Function: Group numeric data into bins or categories
  • Descriptive Statistics: Omit NaN values in basic statistical calculations, including max, min, mean, median, sum, var, std, and cov
  • ismembertol and uniquetol Functions: Perform set comparisons using a tolerance
  • Random Numbers: Generate random numbers using the double-precision, SIMD-oriented Fast Mersenne Twister (dSFMT) algorithm

Data Import and Export

  • Datastore: Read one complete file with 'file' option for ReadSize property
  • Datastore: Read data in parallel from a datastore with partition function using Parallel Computing Toolbox
  • webwrite Function: Send data to RESTful Web services using HTTP POST method
  • webread and websave Functions: Request data from RESTful Web services using HTTP POST method

Performance

  • MapReduce: Run mapreduce algorithms on any computer cluster that supports parallel pools using MATLAB Distributed Computing Server
  • Interpolation Functions: Execute faster with multithreaded calculations

Hardware Support

  • IP camera: Acquire video directly from Internet Protocol cameras
  • Arduino Hardware: Access to Arduino Leonardo and other boards with the MATLAB Support Package for Arduino Hardware

See the Release Notes for details.

Desktop

  • Git and Subversion source control system integration through Current Folder browser, including syncing from Web-hosted repositories such as those on GitHub
  • Packaging of custom MATLAB toolboxes into a single, installable file
  • Dialog box for managing custom MATLAB toolboxes
  • Preference for controlling the initial working folder, with the option to start in the folder from your previous MATLAB session
  • Self-paced eLearning available from within MATLAB

Language and Programming

  • datetime, duration, and calendarDuration arrays for efficient computation, comparison, and formatted display of dates and times
  • Suggested corrections for syntax errors in the Command Window
  • py package for using Python functions and objects in MATLAB, and an engine interface for calling MATLAB from Python
  • matlab.wsdl.createWSDLClient function for accessing SOAP-based Web services
  • Workflow improvements when editing classdef files, including immediate impact on existing and new workspace variables

Mathematics

  • histcounts function for binning numeric data
  • triangulation functions nearestNeighbor and pointLocation for identifying the closest vertex and enclosing triangle or tetrahedron for specified point
  • Option for interpolating to 'next' and 'previous' neighbors with the interp1 function and griddedInterpolant class
  • Option for rounding numbers to a specified number of decimal or significant digits using the round function
  • boundary function and alphaShape class for creating a conforming boundary around a discrete set of points
  • cummin and cummax functions for computing cumulative minimum and maximum of an array
  • Reverse accumulation option for the cumsum, cummin, cummax, and cumprod functions
  • Median and mode calculations of categorical data

Data Import and Export

  • Faster data import from text files using Import Tool, and readtable and textscan functions
  • Import of data as categorical and datetime arrays using the readtable and textscan functions
  • Data import from text files and collections of text files that do not fit into memory with datastore
  • VideoReader performance improvements and ability to start reading from a specified time in the video
  • tcpclient function for reading and writing data from network connected devices and servers using socket-based connections
  • webread function for importing online data including JSON, CSV, and image data

Graphics

  • New look of MATLAB graphics with improved clarity and aesthetics
  • Improved infrastructure based on MATLAB objects
  • Rotatable axis tick labels
  • Automatic update of datetime and duration tick labels with plot function
  • histogram function for plotting histograms
  • animatedline function for creating line animations
  • Display of multilingual text and symbols

GUI Building

  • uitab and uitabgroup components for creating user interfaces with tabbed panels

Performance and Big Data

  • Big data analysis on your desktop that can scale to Hadoop with mapreduce
  • Improved performance for sorting categorical data with sort

See the Release Notes for details.

Desktop

  • Pop-up Command History for recalling, viewing, filtering, and searching recently used commands in the Command Window
  • Merge option in MATLAB Comparison Tool for resolving differences between text files
  • Saving workspace variables and their values to a MATLAB script

Language and Programming

  • Suggested corrections for mistyped, user-defined functions in the Command Window
  • Streamlined MEX compiler setup and improved troubleshooting
  • Multidimensional array support for flipud, fliplr, and rot90 functions
  • Option for circshift to operate on a specified dimension

Mathematics

  • isdiag, isbanded, issymmetric, ishermitian, istril, istriu, and bandwidth functions for testing matrix structure
  • sylvester function for solving the Sylvester equation
  • Option for eig function for computing left eigenvectors
  • Option for rand, randi, and randn functions for creating arrays of random numbers that match data type of an existing variable

Data Import and Export

  • Webcam support for previewing and acquiring live images and video
  • Raspberry Pi hardware support for controlling devices such as motors and actuators, and for capturing live data from sensors and cameras directly from MATLAB

Performance

  • conv2 function performance improvements with three inputs
  • filter function performance improvements for FIR and IIR

See the Release Notes for details.