MATLAB Creating a Hysteresis Loop in MATLAB for Ferromagnets - Tips and Tricks

AI Thread Summary
To create a continuous hysteresis loop in MATLAB from scattered points, users can utilize the plot function, such as plot(x,y,'+'), to visualize the data. It is suggested to separate the data into two sets for forward and backward paths, plotting them with consistent settings or using the 'hold' function. For enhanced clarity, adding directional indicators like greater than (>) and less than (<) signs can help illustrate the hysteresis direction. These techniques allow for a clear representation of the hysteresis behavior of ferromagnets. Properly implementing these methods can effectively convey the characteristics of the hysteresis loop.
omri3012
Messages
60
Reaction score
0
Hallo,

If I have an hystersis loop (of ferromagnets) in form of scattered points in MATLAB what is the function or tool which i can use in order drew a continues hystersis curve(loop)?

Thanks,
Omri
 
Physics news on Phys.org
plot(x,y,'+'); will plot the points in 2-d as + for each point.
 
You could also break it into two sets, one going forward, and one going backwards, and then plot both with the exact same settings (or using the 'hold' function). If you really wanted to get fancy, you could probably add a text greater than (>) sign and less than sign (<) to indicate the direction of the hysteresis.
 

Similar threads

Replies
9
Views
3K
Replies
2
Views
1K
Replies
2
Views
2K
Replies
1
Views
2K
Replies
5
Views
2K
Replies
4
Views
2K
Replies
3
Views
2K
Back
Top