approximate_input_vpp = 456;
atten = -[0 -3 -6 -7 -8 -9];
output_vpp = [680	620	488	432 NaN NaN;
670	600	480	430		 NaN NaN;
672	600	492	456		 NaN NaN;
684	644	570	540	504	464;
692 632 540 500 460 424];

output_pow = 10*log10((output_vpp/1000/2/sqrt(2)).^2/50) + 50 + 30;

figure(1); clf;
plot(atten, output_pow.');
grid on;
xlabel('DDS attenuation (dB)');
ylabel('output power (dBm)');
legend('chan 1', 'chan 2', 'chan 3', 'chan 4', 'chan 5')

return;

