- The type of the input must be vectors or character matrices. Your inputs are of the type double. You can use the "num2str" function to convert the double type to char array. For example
- The size of both the character array inputs should be the same. In your script, the length of train_Coords is 120 and the length of test_Coords is 30.