No BSD License  

Highlights from
Varbase

2.0

2.0 | 2 ratings Rate this file 7 Downloads (last 30 days) File Size: 9.79 KB File ID: #1168
image thumbnail

Varbase

by Nabeel Azar

 

18 Dec 2001 (Updated 20 Dec 2001)

variable based matrix object

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 6.1 (R12.1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
09 Feb 2010 Kizhakkencherry

Hi,

Here is a code that I wrote

m = [1 2 3 4]
m = varbase(m,0)
m(2) =7
m(3) = m(1)+1

Now it executes well till the third line i.e. it displays
m = 1 2 7 4

But however it does not execute the 4th line (it gives the error)
The answer I require is

m = 1 2 7 2

How to make it work?
Thanks,
Viswanath

01 Feb 2011 Ngai-Hang

It's interesting, and I would like to use it, but in my version of MATLAB 7.11.0 (R2010b) the example.m file crashes at M0*M1. I just don't feel confident enough to use it in my code where I need it to work reliably.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
matrices Nabeel Azar 22 Oct 2008 06:39:52
variable Nabeel Azar 22 Oct 2008 06:39:52
base Nabeel Azar 22 Oct 2008 06:39:53
index Nabeel Azar 22 Oct 2008 06:39:53
zero Nabeel Azar 22 Oct 2008 06:39:53

Contact us at files@mathworks.com