Varbase

variable based matrix object

You are now following this Submission

The varbase package allows you to create objects with the base index of your choice. This uses a "data based" model, where array offsets are carried with the data. It also contains makemethods.m, useful for autogenerating overloaded methods of other functions to allow for arithmetic, plotting, etc, of this and other objects. There's also a setup.m file which creates a nice environment for you to work in.

This is certainly not a professional grade production. It's a "bare bones" system, lacking what many will consider critical features but it may be enough for others. It all depends on your needs.

Cite As

Nabeel Azar (2026). Varbase (https://www.mathworks.com/matlabcentral/fileexchange/1168-varbase), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0