I want to combine Latex, numbers, and Tex into the title of a figure using the following (beta_b
and lambda
are defined variables):
title(['$\overline{\beta}=$' num2str(beta_b) 'TE0 , \lambda=' num2str(lambda*1e6) ' \mum'], 'interpreter','latex');
But it doesn't display properly. What's the problem?