Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = round((1+rand)*10)/10;
tic; your_fcn_name(x); your_time=toc
y_correct = x;
assert(isequal(your_fcn_name(x),y_correct))
assert(your_time>x/2)
your_time =
1.939174000000000
|
given 3 sides, find area of this triangle
680 Solvers
Back to basics 21 - Matrix replicating
1052 Solvers
Sum of diagonal of a square matrix
1327 Solvers
Calculate the area of a triangle between three points
877 Solvers
We love vectorized solutions. Problem 1 : remove the row average.
547 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!