how to make my data appear in more accurate way ?

1 Ansicht (letzte 30 Tage)
aliaa madbouly
aliaa madbouly am 15 Sep. 2014
Kommentiert: aliaa madbouly am 16 Sep. 2014
my data appear like this after i plot it, i know that mean there are a big deference between the data but i want to see the low data so should i make filter and how i do it ?

Akzeptierte Antwort

Image Analyst
Image Analyst am 15 Sep. 2014
Bearbeitet: Image Analyst am 16 Sep. 2014
You can take the log of the data. There is even a function that will do it for you and plot it, semilogy():
fontSize = 22;
h= [2 5 6 8 3 4 2 3 5 6 1000 5 6 8 2 35 1002 1020 5 6 8 1050 ]
logh = log(h);
subplot(1, 2, 1);
plot(logh, 'b*-', 'LineWidth', 3, 'MarkerSize', 15);
xlabel('index', 'FontSize', fontSize);
ylabel('log(h)', 'FontSize', fontSize);
grid on;
subplot(1, 2, 2);
semilogy(h, 'b*-', 'LineWidth', 3, 'MarkerSize', 15)
xlabel('index', 'FontSize', fontSize);
ylabel('h', 'FontSize', fontSize);
grid on;
% Enlarge figure to full screen.
set(gcf, 'Units', 'Normalized', 'OuterPosition', [0 0 1 1]);
  4 Kommentare
Image Analyst
Image Analyst am 16 Sep. 2014
See my edit above.
aliaa madbouly
aliaa madbouly am 16 Sep. 2014
i tried it , it did work out.
thanks a lot

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by