MATLAB: Writting error meesage image processing Hello how can i write code to print message my answer is: if r > 0.49 sPrintf('the person is accepted.'); else error('the person is unccepted or not exist.') end; please correct my answer thanks Best Answer if r > 0.49 sprintf('The person is accepted.')else error('The person is unccepted or not exist.') end Related SolutionsMATLAB: Error using ==> sprintf Replace z by z{1} (because z is a cell array)message = sprintf('The name is: %s \n Marks : %.1f \n Aggregate is : %.1f \n The grade is : %.1f \n ',z{1},x,y,Actual_output); MATLAB: How to exclude anomalies from a plot in a data set https://www.mathworks.com/help/matlab/ref/polyfit.html - polyfit takes only three inputsperhaps:fitB(~ismember(fitB,outliers)) Related QuestionEstimate the total area of black pixels from a construction in a figure.Nonlinear regressionHow to handle load errors.Add or subtract 0.1 randomly to all elements of a matix
Best Answer