Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sparse Matrices in MATLAB*P

Similar presentations


Presentation on theme: "Sparse Matrices in MATLAB*P"— Presentation transcript:

1 Sparse Matrices in MATLAB*P
Stu Blair

2 Objectives – Provide Sparse Matrix Functionality
Sparse Matrix Constructors Provide Ability to Transfer Sparse Matrices to/from Server Simple Arithmetic Numerical Algorithm utilizing simple arithmetic

3 Constructors Provided
A = sparse(M,N*p) A = sprandn(M,N*p,density) A = sprand(M,N*p,density) A = speye(M,N*p)

4 Sparse Matrix Transfer
S = matlab2pp(A); L = pp2matlab(S);

5 Matrix Manipulation A = spones(B); D = full(S);

6 Information I = nnz(A);

7 Arithmetic S3 = S1 + S2 S3 = S1 – S2

8 Arithmetic: S = A + B

9 Quick Demo….


Download ppt "Sparse Matrices in MATLAB*P"

Similar presentations


Ads by Google