I need a MATLAB syntax for video modulation using QAM

1 view (last 30 days)
This is my code :...but further iam unable to continue:
clc; clear all; close all; a=VideoReader('F:\whatsapp\video\VID-20141230-WA0001.mp4'); nFrames=a.NumberOfFrames; for k=1:nFrames img=read(a,k); %X=randn(300,400,3); z=img(:,:,1); %b=reshape(reflectances,1,300*400,3); %b=reshape(b,300*400,3); %p=imresize(img,[256 256]); %i=double(p); %i=im2bw(img); %=im2uint8(img); %y =modem.qammod('4',i,16); %y=qammod(z,16); %rgbSum=double(img); % for fr=2:nFrames % thisFrame=double(read(a,fr)); % rgbSum=rgbSum+thisFrame; % end % rgbMean=rgbSum/nFrames; figure(1),imshow(img,[]);
end

Answers (0)

Categories

Find more on Biomedical Imaging in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!