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

Solution 482750

Submitted on 5 Aug 2014 by George Berken

Correct

16Size
Leading solution size is 16.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test
Code Input and Output
1
Pass
 
%%
x=imread('http://static0.therichestimages.com/wp-content/uploads/2014/02/san-sebastian.jpg');
y_correct = 54791054;
assert(isequal(your_fcn_name(x),y_correct));
ans =
    54791054
2
Pass
 
%%
x=imread('http://grxworkshop.com/wp-content/uploads/2013/11/223-126-guggenheim-large.jpg');
y_correct=120866847;
assert(isequal(your_fcn_name(x),y_correct));
ans =
   120866847