Please change test case. It is giving error.
y_correct=[13 10 7 4];
The brackets and the first test case has no function call.
I fixed the tests.
3082 Solvers
Calculate the area of a triangle between three points
884 Solvers
Check if number exists in vector
4487 Solvers
277 Solvers
Finding an element in a vector
136 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!