Create an account Log In

# Zero-Based Indexable Arrays (OOP Exercise) (Scripts) 1.0

Average Rating
User Rating:
Visitors Rating:
My rating:

• Last update: 5 years ago
• Total downloads: 79
• Operating system: Linux, Mac OS X, Win All, BSD, Solaris
• Publisher: Matt J (15 other programs)
See full specifications

## Zero-Based Indexable Arrays (OOP Exercise) (Scripts) Publisher's description

### I created this class of zero-indexable arrays purely as a fun OOP exercise, in reaction to various Newsgroup threads inquiring about zero-indexable matrix types for MATLAB

I created this class of zero-indexable arrays purely as a fun OOP exercise, in reaction to various Newsgroup threads inquiring about zero-indexable matrix types for MATLAB. Even though I've gone to the trouble to overload many methods for the class, I offer it as a toy, nothing more, and strongly urge you not to use it for anything serious.

USAGE:

A=ZeroBased(B)

where B is a normal MATLAB matrix will cast B to A, which is exactly
the same, except that it is 0-based indexed instead of 1-based.

EXAMPLE 1:

>>A=ZeroBased(rand(3))

A =

0.7922 0.0357 0.6787
0.9595 0.8491 0.7577
0.6557 0.9340 0.7431

>>A(0,2)

ans =

0.6787

EXAMPLE 2:

It works for sparse matrices to, and will even display at the command line
with zero-based indexing display syntax, e.g.,

>> A=ZeroBased(speye(3))

A =

(0,0) 1
(1,1) 1
(2,2) 1

#### System Requirements:

MATLAB 7.12 (2011a)
Program Release Status: New Release
Program Install Support: Install and Uninstall

#### Zero-Based Indexable Arrays (OOP Exercise) (Scripts) Tags:

Click on a tag to find related softwares

### Is Zero-Based Indexable Arrays (OOP Exercise) (Scripts) your software?

Manage your software

## Most Popular

ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.