Files
imdd_silas/Functions/frequency_wavelength/thz2nm.m

4 lines
127 B
Matlab

function nm = thz2nm(thz)
freq_in_hz = thz.* 1e12;
nm = (299792458 ./ freq_in_hz) .*1e9; %wavelength in nanometer
end