This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
c = 2;
h_correct = 6;
assert(isequal(hydrocarbons(c),h_correct))
|
260 Solvers
484 Solvers
Find out total non zero element of matrix
193 Solvers
Matlab Basics - Absolute Value
360 Solvers
Matrix of almost all zeros, except for main diagonal
152 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!