how to upload an bmp image in ofdm signal processing? showing error in uploading image?

1 view (last 30 days)
clc; clear all; close all;
c1=8; v=4;% no of sub blocks Fs=10^3; NN=0:.1:13;%CCDF???? ccdf0=zeros(1,131); ccdf2=ccdf0;
% ======Parameters=======
FFTLength=2048;%Length of FFT to be performed
modu={'BPSK MODULATION','QPSK MODULATION','8PSK MODULATION','16QAM Modulation'}; ae=0;
%========Operation on Image==================%
imag = imread('frame.bmp');%to read an image figure(); imshow(uint8(imag(:,:,:))); title('Original Image'); %imag=rgb2gray(imag) [cA1,cH1,cV1,cD1] = dwt2(imag, 'Haar'); dec2d = [... cA1, cH1; ... cV1, cD1 ... ]; %axes(handles.two); imshow(dec2d,[]); title('Transformed Image');
img= imag(:,:,:);
[g gg t] = size(img);
binary = dec2bin(img, 8); %Converting image in binary character%
[s ss] = size(binary);
sigg = reshape( binary', 1,s*ss );
sig = str2num(sigg'); % if no transpose then sig will be Inf%
input=sig';%serial Input of binary numbers
%========Zero Padding============%
  2 Comments
Image Analyst
Image Analyst on 7 Oct 2013
Edited: Image Analyst on 7 Oct 2013
And even beyond those issues, I don't even know where he's trying to upload the image to . Some website? Here in Answers? If you want to upload it here, use the image icon or the paper clip icon, or both. What line of code is the line that's supposed to do the uploading?

Sign in to comment.

Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!