Exercise 6 Solution

myVariable = 42.5;
if isa(myVariable, 'double')
    disp('myVariable is of type double')
else
    disp('myVariable is not of type double')
end


For more details, please contact me here.