Cody

Solution 1741378

Submitted on 3 Mar 2019 by Athi
  • Size: 11
  • This is the leading solution.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x = 0:1:10; y = [1 2.7 7.4 20.1 54.6 148.4 403.4 1096.6 2981 8103.1 22026.5]; respuesta_correcta = logical(1); assert(isequal(comprobacion_exp(x,y),respuesta_correcta))

ans = []

2   Pass
x = 10:1:20; y = [22026.5 59874.1 162754.8 442413.4 1202604.3 3269017.4 8886110.5 24154952.8 65659969.1 178482301 485165195.4]; respuesta_correcta = logical(1); assert(isequal(comprobacion_exp(x,y),respuesta_correcta))

ans = []

3   Pass
x = 10:1:20; y = [22026.5 59876.1 162754.8 442413.4 1202604.3 3269017.4 8886110.5 24154952.8 65659969.1 178482301 485165195.4]; respuesta_correcta = logical(0); assert(isequal(comprobacion_exp(x,y),respuesta_correcta))

ans = []