car2freq — transforms a car into a frequency
f=car2freq(car)
car = a character (a, q or m)
f = an integer
f=car2freq('q')