Simple Matlab/Octave function to check free disk space. Helps avoid totally filling a hard drive.
You can get free memory on any platform from Matlab and GNU Octave with this script.
How to make nice desktop icons for Matlab and other programs on Linux.
How to have Matlab import Python modules, using any Python install.
How to reshape matrix ↔ vectors when calling Python from Matlab.
Matlab Engine for Python allows calling Matlab functions from Python.
How to use array broadcasting instead of bsxfun() for Matlab ≥ R2016b and Octave ≥ 3.6.0.
How to playback lossless Motion JPEG 2000 videos.
Get axes ratioed correctly in Matplotlib, Matlab and Octave with these commands.
Drastically speed up GNU Octave startup speed by NOT preloading packages–here’s how.
How to control GNU Octave with more advanced settings, including startup.m and .octaverc.
Adding paths to startup.m for frequently used toolboxes allows you to avoid constantly reading them in all your scripts.
Phidgets motor controllers are easy to use from Matlab or Python. Here’s how to setup Phidgets control from Matlab for Linux, Mac and Windows.
Quick test for Matlab Mex with Fortran code.
Quick test that your Matlab Mex is working.
MATLAB on Linux claims to only playback uncompressed AVI files on “UNIX”, and here’s how to workaround Matlab codec issues.
How to reshape N-D arrays since Matlab calling Python can only send a 1xN vector.
remez() was omitted from octave-signal 1.3.2. You can install octave-signal 1.3.1 to regain remez() with this easy procedure.
How to make multiple Matlab plot data cursors, to make beautiful plot annotations.
Matlab readtable() is not capable of defining data format at read time. Thus, define your data type in the spreadsheet.
Multiple ways to use OpenCV from Matlab.
Matlab Student installs on Linux just like regular Matlab.
How to properly use nonlinear axes with Matlab and Python imagesc() or pcolor()
In Matlab, tilde ~ means logical not. In Python, tilde ~ means unary complement, and booleans are actually a byte, so result may be unexpected.
LibSVM is a popular machine learning toolbox for Support Vector Machines (SVM). Here’s an easy way to install LibSVM in Matlab, GNU Octave and Python.
The PMTK3 library of libraries for machine learning brings together classic Bayesian methods with MCMC and others. Here’s how to install PMTK3 for Matlab and...
How to call and process PSPICE simulations using GNUCAP or NGspice from Matlab or Octave.
How to compile Matlab code to an executable, so that Matlab isn’t needed to run the .m file. The free Matlab Compiler Runtime is needed on the non-Matlab PC.
Matlab R2015b and newer using network license on Linux have a problem writing network.lic. Fix this issue with this procedure.
How to set more digits of precision for the Matlab data cursor.
workaround to pass sparse matrices from Matlab to Python.
fix for Matlab R2016a, R2015b, and older crash upon startup due to an out of date libstdc++ in sys/os/glnxa64.
Use my expanduser() for Matlab to fix issues with tilde in filename.
Old versions of Matlab and Octave had issues with int2str() and 64-bit integers. Current versions don’t seem to have this problem anymore.
Python/SciPy offers numerous options for finding peaks, like Matlab.
Although not specifically recommended by the Mathworks, at least initially, Matlab R2015b starts and does basic stuff including plotting and mex’ing a basic ...
Montages can be made with GNU Octave, but old versions of the image package have a bug that I fixed.
Platform-independent expanduser for Matlab/Octave
New pricing for Matlab Student Version fall 2015.
Fix Matlab errors on loading shared libraries loadlibrary() by telling Matlab your compiler path.
Now MinGW is supported in Matlab for loading C libraries and compiling mex code in Windows.
How to make Matlab use unique colormaps for each subplot of a Matlab figure.
How to overlay a contour on a Matlab 3-D image plot.
Fix hangups and reduced quality plots for Matlab over X11 forwarding
How to fix 3-D plot rendering in Matlab for VNC.
Workaround Matlab ≤ R2013b Mex configuration issues.
Benchmarking Matlab imwarp vs. imtransform.
Install Intel TBB on Windows to avoid error when compiling Matlab Compiler code.
Fix nuisance Matlab BLAS error.
Update Matlab license to a different username via Mathworks License Center.
Old versions of Matlab had trouble with 64-bit fseek() offsets, now fixed.
Control the number of digits in Matlab exponential ticks
Stop Matlab’s battery draining high CPU on idle with this configuration change.
Use system libstdc++ instead of Matlab’s version.
Fix gfortran not found error in Matlab.
tips for using polybool() correctly.
Use integer instead of float labels with this command.
How to fix permission denied error when installing Matlab on Ubuntu.
Fix errors in Matlab on system calls due to libstdc++ version conflicts.
How to read slices of FITS files with Matlab.
Examples of regular expressions for tricky date extraction from complicated strings.
Fix for Matlab and Octave reading text files as single vertical column of text.
How to make a square-base 2D data pyramid in Matlab.
Example of displaying movies of 2D stacked data in MATLAB and Octave.
How to run the Matlab download agent from Linux using Java.