Hi Christian,
Try this:
title(sprintf('Surface Ions per nm^2: %0.2f x 10^%i', 10^mod(log10(surfaceIons),1),floor(log10(surfaceIons)))) Answer from Mike on mathworks.com
MathWorks
mathworks.com › matlabcentral › answers › 1721585-how-to-write-10-6-in-xlabel
How to write 10^(-6) in xlabel? - MATLAB Answers - MATLAB Central
May 17, 2022 - I need to write a line in the xlabel. In that line, avlue has to be shown as 4x10^(-5). I am using the below command: ... char(10),'B-H curve for f= ',num2str(f),'Hz with $\frac{dB}{dH}$ =',num2str(dBdH),' and the flux density point on anhysteretic B-H curve B1=',num2str(B1),' T',... char(10),'at corresponding field strength H1=',num2str(H1),' A/m with c=',num2str(c),', $\alpha$=',num2str(alpha_peak),'$\10^-6$','k=',num2str(k)],'Interpreter', 'latex')
Stack Overflow
stackoverflow.com › questions › 29712609 › how-can-i-write-a-number-values-in-powers-of-10
matlab - How can i write a number values in powers of 10? - Stack Overflow
Since e represents to the power 10 and is present in all numbers you listed this is a simple process with many solutions, here is one. % format long is very important otherwise it will appear to you that you have %lost precision. MATLAB hides precision from view to save screen space and to %produce less confusing results to the viewer.
Videos
17:54
What is an Exponent & Powers of 10? - [5] - YouTube
01:46
how to take power of a number in matlab | raised to the power ...
12:20
MATLAB For Beginners Exponents and Scientific Notation - YouTube
11:49
Matlab Online Tutorial - 12 - Adjusting the Display Precision for ...
MathWorks
mathworks.com › matlabcentral › answers › 1744070-converting-to-scientific-notation-in-matlab
Converting to scientific notation in matlab - MATLAB Answers - MATLAB Central
June 20, 2022 - You cannot "represent" it that way. A number is just a number. In fact, it is stored in a binary form internally. So you cannot tell MATLAB to store it in some other form, perhaps as scientitfic notation.
MathWorks
mathworks.com › matlabcentral › answers › 1776980-how-to-write-numbers-with-10-format-in-matlab
how to write numbers with 10^ format in matlab? - MATLAB Answers - MATLAB Central
August 10, 2022 - how to write numbers with 10^ format in matlab?. Learn more about matlab, write, sprintf, float, number
YouTube
youtube.com › watch
Matlab Online Tutorial - 06 - Exponents and Scientific Notation - YouTube
Get more lessons like this at http://www.MathTutorDVD.comIn this lesson, you will learn how to perform calculations in matlab that involve scientific notatio...
Published March 23, 2018
MathWorks
mathworks.com › matlabcentral › answers › 592723-write-a-vector-with-for-example-10-5-kind-of-numbers
Write a vector with (for example) 10^-5 kind of numbers - MATLAB Answers - MATLAB Central
September 12, 2020 - h = [10^-1 10^-2 10^-3 10^-4 10^-5 10^-6 10^-7 10^-8 10^-9 10^-10 10^-11 10^-12 10^-13 10^-14 10^-15 10^16 10^-17 10^18 10^-19 10^-20] I know I can write it by hand (like I did), but is there a more condence way to do it? I know there's a technique to write a vector like this [x:y:z], where y is the step, but it doens't seem to be working with 10^. ... Sign in to comment. Sign in to answer this question. ... https://www.mathworks.com/matlabcentral/answers/592723-write-a-vector-with-for-example-10-5-kind-of-numbers#answer_493627
MathWorks
mathworks.com › matlabcentral › answers › 512494-format-number-exponential-notation
Format Number (exponential notation) - MATLAB Answers - MATLAB Central
March 23, 2020 - You will not be able to do this directly. sprintf and related do not offer any control over where the decimal is put. You can use log10 to probe the power of 10 for the value, such as -5.
MathWorks
mathworks.com › matlab › mathematics › elementary math › exponents and logarithms
Powers and Exponentials - MATLAB & Simulink
This topic shows how to compute matrix powers and exponentials using a variety of methods.
MathWorks
mathworks.com › matlabcentral › answers › 314402-how-to-input-10-10-10-10-don-t-10-10
how to input 10^-10=10^-10 don't 10^10. - MATLAB Answers - MATLAB Central
November 28, 2016 - how to input 10^-10=10^-10 don't 10^10.. Learn more about exponent
MathWorks
mathworks.com › matlabcentral › answers › 897272-10-raised-to-the-power
10 raised to the power - MATLAB Answers - MATLAB Central
August 12, 2021 - 1/10 is not exactly representable in binary floating point. When you compute with non-integer floating point numbers, unless you restrict yourself to pure powers of 2 such as 0.25, then you should expect that the result may be different than you would expect mathematically. ... Sign in to comment. Sign in to answer this question. MATLAB Language Fundamentals Operators and Elementary Operations