It needs more test cases. It is not clear what the output should be for all possible x.
1231 Solvers
Find the sum of the elements in the "second" diagonal
996 Solvers
193 Solvers
Area of an equilateral triangle
2877 Solvers
Sum of odd numbers in a matrix
318 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!