Search found 1 match

by phys98
Wed Dec 08, 2021 9:58 am
Forum: General forum
Topic: Amp in resfield
Replies: 13
Views: 14562

Re: Amp in resfield

I am trying to calculate the transition probability for a spin-5/2 system using the following code: clear, clc Sys = struct('S',5/2,'g',2, 'D', -256*[0 0 0; 0 0 0; 0 0 1]); Exp.Range = [0 1500]; Exp.Temperature = 4.2; Exp.mwFreq = 9.708; [B,TransRate0] = resfields(Sys,Exp); for k = 1:length(B) H = s...