How to draw this graph using matlab code ignore the labeling

 Akzeptierte Antwort

KALYAN ACHARJYA
KALYAN ACHARJYA am 1 Aug. 2019
Bearbeitet: KALYAN ACHARJYA am 1 Aug. 2019
t=1:.1:8;
y=log(t);
y(t>5)=0;
plot(t,y,'b','linewidth',1);
set(gca,'YTickLabel',[]);
xlabel('Energy');
ylabel('D(E)'); %You can insert signma also, try it
tt.png
MVPs, I don't know what I am doing..I have no clue. Is there any sense to producing the graph like this? From the labels, it seems the plots related to statistical mechanics /quantum mechanics.

2 Kommentare

yes sir, it is quantum mechanics work. I dont know how to use matlab but my lecturer ask me to plot graph using it. how do i plot this then? adding another red line graph on it Untitled.png
Hey, read the literature (Energy vs density of states), there may be relation between energy and density of states (D), May be when T>0, the graph behave as red line.
D(E)= Function of (Energy,T, and other terms etc)
Define E (Energy) and all other terms
Calculate D(E) with respect to different values of E
plot(E,D_E)
Discuss with your teacher, regarding Mathematical expression and typical values of all other terms. If you do that, the plot implementation on Matlab, hardly takes 5-10 min.
Is this related to this one, not sure
Good Wishes! Keep Learning!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

the cyclist
the cyclist am 1 Aug. 2019

1 Stimme

Find a similar plot at the MATLAB Plot Gallery, copy the code from there, and adapt it to your case.

Kategorien

Mehr zu Chemistry finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by