MATLAB Simulate Hysteresis Loop in MATLAB | Step-by-Step Tutorial"

Click For Summary
The discussion focuses on simulating a hysteresis loop in MATLAB, specifically for ferromagnetic substances. The Langevin function is suggested as a method to describe the hysteresis loop, with two forms provided for the magnetization equation: M(H)=M_s.[cosh(c(H+αM))−1/(c(H+αM))] and M(H)=M_s.tanh(c(H+αM)). It is noted that coding this simulation in MATLAB is straightforward and can be accomplished in about ten lines of code.
vinzie
Messages
19
Reaction score
0
Hi there,

Would anyone help me in simulating hysteresis loop in MATLAB?

Thank You!
 
Physics news on Phys.org
like a transformer hysteresis loop? without the hysteresis, what does the curve look like?
 
I meant the hysteresis loop of a ferromagnetic substance
 
You can use Langevin function to describe a hysteresis loop. Exact form of Langervin function you can find out in many textbooks on magnetism.

M(H)=M_s.[\cosh(c(H+\alpha M))-\dfrac{1}{c(H+αM)}]

or use this

M(H)=M_s.\tanh(c(H+\alpha M))

For the code, It is extremely easy, in ten lines, so try it.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
2K
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K