Plotting mantissa against a vector
조회 수: 1 (최근 30일)
이전 댓글 표시
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 Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!