The function validateattributes
can be used to validate an array against a set of specifications
It can be therefore used to validate the input provided to a function.
In the following example, the function test_validateattributes requires three
input
function test_validateattributes(input_1,in...