How to plot this equation

4 views (last 30 days)
ijsonvjksrefdsb
ijsonvjksrefdsb on 11 Jan 2024
Answered: Paul on 11 Jan 2024
I'm trying to plot the figure below, but I don't really understand what function to use to achieve this.
β is defined as , where the T used is for low temperature
I tried using syms delta and fplot(@(delta) U) but that doesn't seem right.
  1 Comment
Matt J
Matt J on 11 Jan 2024
but that doesn't seem right.
Why not?

Sign in to comment.

Answers (1)

Paul
Paul on 11 Jan 2024
syms U Delta beta T k_beta
U = -Delta/2*tanh(beta*Delta/2)
U = 
UoverDelta = U/Delta
UoverDelta = 
UoverDelta = subs(UoverDelta,beta,inv(k_beta*T))
UoverDelta = 
syms w
UoverDelta = subs(UoverDelta,k_beta*T/Delta,w)
UoverDelta = 
figure
fplot(UoverDelta,[0 10])
ylim([-1 0])

Categories

Find more on Mathematics in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!