MATLAB: How i can do sub-sampling for an image with factor 4 sub-sampling to perform sub-sampling using matlab Best Answer hi ,you can use the function " downsample" twice ,example : I=imread('circuit.tif'); J=downsample(I,4); J=downsample(J',4)'; whos I J imshow(J) figure, imshow(I)Size(I)= 4² * Size(J) . Related SolutionsMATLAB: Downsampling the filtered image By indexing, perhaps, e.g., x=1:10; xdownsampled=x(1:2:end);Or, if downsampling at non-integer locations, by interpolation. See griddedInterpolant(). MATLAB: Montage of 3 image See montage.An example:I = imread('peppers.png');R = I(:,:,1);G = I(:,:,2);B = I(:,:,3);J = rgb2gray(I);K = im2bw(I)*255;img = cat(4,R,G,B,J,K);figure;montage(img,'Size',[1 5]); Related QuestionHow to store values in a array from a loopMatlab coding for downsampling……..……How to compute duration of the signal
Best Answer