How to plot using logaritmic scale, for given points?

4 Ansichten (letzte 30 Tage)
Ann-Sofi Kidwell
Ann-Sofi Kidwell am 18 Dez. 2017
Beantwortet: Walter Roberson am 18 Dez. 2017
I have done a few runs in MATLAB and gotten different values depending on the number of iterations. I would like to display these values using a log- scale graph
I have two sets of values
y1=[17.5,30,74.8,98.1,100,100];
y2=[5.6,8,12.1,19.7,28,72.1];
given at the iterations points
x=[50,100,200,500,1000,10000];
I have looked at the semilog function- but how should I set it up?
  1 Kommentar
Rik
Rik am 18 Dez. 2017
Have you read the documentation? If you did, what didn't you understand?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 18 Dez. 2017
semilogy(x, y1, x, y2)

Weitere Antworten (0)

Kategorien

Mehr zu Exponents and Logarithms finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by