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
4.40710646596169e+018 16.9749211806197e+186 142.220634811050e+078 508.723835280617e+204 1.15401317731033e-177 129.994388899690e+168 14.3008811642810e+153 1.25899227268954e+165 24.1450064703939e+150 627.108997290435e+144 2.03728822649372e+177 339.903986115177e-066 150.360900017430e+183 5.39003779219462e+135 183.893417489826e+198 648.544709490386e+045 19.7574461055182e+198 3.91455750674308e+102 6.41548629454028e-114 70.4943280639616e+096 19.7574461055182e+198 3.11450571506133e-009 249.857950606210e+093 4.64921904682151e+180 750.343029004712e+147 · I want these results to be in a format of power of 10, so that I can easily do arithmetic operations for my next function.
🌐
UNSW Sites
maths.unsw.edu.au › sites › default › files › MatlabSelfPaced › lesson1 › MatlabLesson1_EnterDisplay.html
MATLAB Lesson 1 - Arithmetic
We're passionate about maths and its capacity to change the world for the better. Each year, we share this passion at this event designed for young women in high school (predominantly years 10-11) with demonstrative capacity, talent, and interest in mathematics.
🌐
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.
🌐
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
Find elsewhere
🌐
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?
🌐
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 › matlab › language fundamentals › entering commands
format - Set output display format - MATLAB
MATLAB always displays integer data types to the appropriate number of digits for the data type. For example, MATLAB uses 3 digits to display int8 data types (for instance, -128:127).
🌐
Wikipedia
en.wikipedia.org › wiki › MATLAB
MATLAB - Wikipedia
18 hours ago - >> A = [16, 3, 2, 13 ; 5, 10, 11, 8 ; 9, 6, 7, 12 ; 4, 15, 14, 1] A = 16 3 2 13 5 10 11 8 9 6 7 12 4 15 14 1 >> A(2,3) ans = 11
🌐
MathWorks
mathworks.com › matlab › mathematics › elementary math › exponents and logarithms
Powers and Exponentials - MATLAB & Simulink
ans = 3×3 3 6 10 6 14 25 10 25 46 · If A is square and nonsingular, then A^(-p) effectively multiplies inv(A) by itself p-1 times. A^(-3) ans = 3×3 145.0000 -207.0000 81.0000 -207.0000 298.0000 -117.0000 81.0000 -117.0000 46.0000 · MATLAB® calculates inv(A) and A^(-1) with the same algorithm, so the results are exactly the same.
🌐
Quora
quora.com › What-does-1e-8-mean-in-MATLAB-Why-do-I-need-this-notation-in-MATLAB
What does 1e-8 mean in MATLAB? Why do I need this notation in MATLAB? - Quora
· · This is scientific notation; the 'e' is followed by the number of decimal places to adjust the number before the 'e'. ... It's often much more convenient to read and write very large and very small numbers using this notation because it ...