Problem 691. Number of bytes required to store a sparse matrix

The input is always a sparse matrix :

x = sparse(100,1000,0.01);
    >>whos x 
shows that 4016 bytes ares required .

The aim is to find the the number of bytes required to store a sparse matrix without using whos or who commands.

Solution Stats

28.57% Correct | 71.43% Incorrect
Last solution submitted on May 02, 2016

Problem Comments

Solution Comments


Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more