Here is my code:
angles = 'Please enter the Euler angles in degrees- yaw(x),pitch(y) and roll(z) \n:';
ea = input(angles,'s');
cos(ea(1))
This code saves the elements of the input string 'ea' as char. How should I save the input in degrees directly? Using cos(ea(1)) gives an error:
Undefined function 'cos' for input arguments of type 'char'.