MATLAB: I can put image image analysis i write script like this. e=input('enter the name = ') b=imread('e'); image(b); and i input a.jpg . why error ? thx Best Answer e=input('enter the name = ','s')b=imread(e);image(b);You were using input to save numeric data to e and instead of the value inside e you were saying to imread to open the letter e like this 'e'. Related SolutionsMATLAB: Adding multiple images together from a for loop Try this out: E = []; for i = 1:4 str = int2str(i); str = strcat('\',str,'.jpg'); str = strcat('C:\Users\ASUSA55V\Documents\MATLAB\images\ur3', str); im = imread(str); im = imresize(im,[64 70]); E = E + im; endimshow(E); MATLAB: Put number in cell B = num2cell(~cellfun('isempty',A) * .2) Related QuestionHow to display 3D image in each layerNeed to extract rgb value of image in the format [r g b]Put label in colorbarMerge image using matlabHow to put errorbars
Best Answer