Writing an exponential equation in the title
I would like to write my exponential equation in the title of my figure. Right now I have:
title([‘y = ‘,num2str(a),’ x^’, (num2str(n))]);
The problem is my equation comes out as: y = 8.56 x^(0).68, which is not what I want.
I want would the title to be y = 8.56 x^(0.68). How do I do this?I would like to write my exponential equation in the title of my figure. Right now I have:
title([‘y = ‘,num2str(a),’ x^’, (num2str(n))]);
The problem is my equation comes out as: y = 8.56 x^(0).68, which is not what I want.
I want would the title to be y = 8.56 x^(0.68). How do I do this? I would like to write my exponential equation in the title of my figure. Right now I have:
title([‘y = ‘,num2str(a),’ x^’, (num2str(n))]);
The problem is my equation comes out as: y = 8.56 x^(0).68, which is not what I want.
I want would the title to be y = 8.56 x^(0.68). How do I do this? num2str MATLAB Answers — New Questions