How to set different fontsize for multiline title with text and latex formula

2 views (last 30 days)
sol= dsolve('D2y+2*Dy=exp(x)','y(0)=1','Dy(0)=0','x'); line1=[' solution is']; line2=['$' latex(sol) '$']; ezplot(sol,[-2,0]); title({line1,line2} ,'Interpreter','latex','Fontsize',12)

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!