Values being repeated for nmc times

조회 수: 2 (최근 30일)
Offroad Jeep
Offroad Jeep 2015년 9월 15일
댓글: Walter Roberson 2015년 9월 16일
Hi all, The initial values are calculated fine. Firstly, in the loop for first value of magnetic field, calculate zeeman energy, if new_zeeman < initial_zeeman, do the steps as defined but I am getting multiple values.
Secondly, the angles should be added in the previous sum eg if initial angle is 0 and first dtheta is 2 it should be 0+2 =2 , in the next is dtheta is 3 angle should be 2+3 = 5...... and so on
Finally for all values of mag_reverse we should get zeeman and then magnetization.

답변 (1개)

Walter Roberson
Walter Roberson 2015년 9월 15일
zeeman_new= - mag_reverse(i) * magnetization * cosd(new_angle)
  댓글 수: 2
Offroad Jeep
Offroad Jeep 2015년 9월 15일
Not working........ :(
Walter Roberson
Walter Roberson 2015년 9월 16일
Did it fix the multiple value problem?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Structures에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by