Anonymous @ on
I would like to simulate the CoFeB with non-uniform magnetization, for more closer to the real situation due to the roughness. That is, there is little variation between each cell.
I saw a paper mention :"Thus, the roughness can be modeled by a random modulation of the saturation magnetization within each cell, Ms(cell)=Ms[1-Δm*rad(0,1)], where rand(0, 1) is a random number ranging from 0 to 1, and Δm is an adjusting parameter."
How can I achieve that?