File Exchange

image thumbnail


version 1.1 (1.35 KB) by Tim Davis
subsref2 is a replacement for subsref, performing the computation C=A(i,j).

1 Download

Updated 20 Nov 2014

View License

subsref2 uses sparse matrix multiplication to compute C=A(i,j). It uses the following method. Let I and J be identity matrices of the right size so that I*A*J is equal to A. Then C = I(i,:)*A*J(:,j) is the same as C=A(i,j).

Cite As

Tim Davis (2020). subsref2 (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)



Converted to a toolbox, modified comments.

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags