MATLAB: I 2-D plot of y with specific x

psnr image proccesing

Hi trying to pot PSNR values at specific exposur time psnr_val=[22 24 29 32 33] exp_t =[0.01 0.1 1 10 100]

Best Answer

I am guessing here as to what you want.
Try this:
psnr_val=[22 24 29 32 33];
exp_t =[0.01 0.1 1 10 100];
figure
semilogx(exp_t, psnr_val)
grid
xlabel('exp\_t')
ylabel('psnr\_val')
Use plot instead of semilogx if you want a linear x-scale.