Plotting mantissa against a vector

1 次查看(过去 30 天)
Omar
Omar 2020-2-18
编辑: Omar 2020-2-18
Given a vector xx=rand(16,1) and to plot its mantissa against xx I simply use
plot(floor(log10(xx)), xx)
This is apparently easy, however it seems not working for vectors containing elements in floating point format, e.g. 4.34e-4 .
Is this the right way to do it or something is wrong? What is good way to represent the the mantissa of these componet of the vector elements against itself?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by