How do i convert this variable:
graph which is a char with value = t
into a variable that remains with the same value = t, but it is read by Matlab as a double.
I´ve been trying to use str2double but it returns a NAN. If I use str2num it returns an empty vector.
I need to use the t value as a double in order to graph with the area() function.