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];figuresemilogx(exp_t, psnr_val)gridxlabel('exp\_t')ylabel('psnr\_val')Use plot instead of semilogx if you want a linear x-scale. Related SolutionsMATLAB: Can someone tell me why the graph isn’t plotting Subscript ‘Cl’ and ‘Cd’ in the loop: Cl(i) = (Fl(i)/(Pd(i)*A)) Cd(i) = (Fd(i)/(Pd(i)*A)). MATLAB: Doubt in declaring a function No, there is not. You cannot name an element of a matrix in a function header. You can use two different variables though.function err = ODE_fit(fun, exp_t, exp_y, Q, theta1, theta2, iniVal)% exp_y = Experimental observation at time exp_t[t,y] = ode45(@(t,X)fun(t,X,n, S0, Q, theta1,theta2),exp_t,iniVal); err = sum(sum((y-exp_y).^2)); % compute error between experimental y and fitted yend Related QuestionPSNR Calculation without using functionHow to find the x value at the maximumUsing FigurePlotting error: Need to plot the evolution of symbolic matrix
Best Answer