Community Profile # Hanojhan Rajahrajasingh

Last seen: 3 månader ago Active since 2022

#### Statistics

• • #### Content Feed

View by

How to calculate BER vs. SNR in ACO-OFDM system over VLC channel?
Did you find a solution to this problem?

Question

Why is the BER not changing even after changing the parameters in the channel model?
clc ; clear all; close all ; m =512; % Total number of OFDM symbols N =1024; % Length of each OFDM symbol M =16; % Size of ...

### 0

Question

Why do I receive "Error using RectangularQAMModulator"
% Set the OFDM and QAM parameters N = 64; % Number of subcarriers M = 16; % Size of QAM constellation CP = 16; % Cyclic prefi...

### 0

Question

How to modify modem.qammod for the latest MATLAB version?
clc ; clear all ; close all ; m =512; % Total number of OFDM symbols N =1024; % Length of each OFDM symbol M =4; % Size of ...

### 0

Question

How to modify this MMSE channel estimation code to accommodate optical OFDM
function H_MMSE = MMSE(RxP,TxP,N,pilotFrequency,h_CIR,SNR) noiseVar = 10^(SNR*0.1); Np=N/pilotFrequency; % Number of Pilots H...

### 0

Question

Why am I getting a poor BER vs SNR curve?
close all ; m =512; % Total number of OFDM symbols N =1024; % Length of each OFDM symbol M =4; % Size of the Constellation ( ...

### 0

Question

How do I fix this? "Index exceeds the number of array elements. Index must not exceed 128."
close all ; m =512; % Total number of OFDM symbols N =1024; % Length of each OFDM symbol M =4; % Size of the Constellation ( ...

### 1

Question

How do I modify this code in order to estimate the channel without using the pilot location?
function [H_MMSE] = MMSEesti(Y,Xp,pilot_loc,Nfft,Nps,h,SNR) % MMSE channel estimation function % Inputs: % Y = Frequency-doma...

### 0

Question

How do I fix this? "Index in position 2 exceeds array bounds (must not exceed 1)."
close all ; m =512; % Total number of OFDM symbols N =1024; % Length of each OFDM symbol M =4; % Size of the Constellation ( ...

### 1

How to have Logging in Matlab
Appologies for my previous response. Can you be more specific about your project? Here is an example of data logging in MATL...

Question

How to fix this error? "Index in position 2 exceeds array bounds (must not exceed 1)."
close all ; m =512; % Total number of OFDM symbols N =1024; % Length of each OFDM symbol M =4; % Size of the Constellation ( ...

### 0

Hi! How can I create a conditional statement from checking if an array is empty? I will paste my non-working code here.
A = zeros(0,2,2); TF = isempty(A); GRRRRR = double(TF); if GRRRRR == 1 fprintf('No match has been found throughout whole...

Question

Why am I getting this error "not enough argument"
close all ; m =512; % Total number of OFDM symbols N =1024; % Length of each OFDM symbol M =4; % Size of the Constellation ( ...

### 1

Question

I'm getting this error when I tried to select a custom number of images for training and validation "Index in position 3 exceeds array bounds (must not exceed 1)."
%% Inicializes the IDE enviornement clc clear close all %% Load the Image data % Images trainImagesFile = "train-images-id...

### 0

Question

After adding the channel model to the code the BER vs SNR curve doesn't look realistic. What went wrong in the code?
clc ; clear all ; close all ; m =512; % Total number of OFDM symbols N =1024; % Length of each OFDM symbol M =16; % Size of...

### 0

Question

After adding the channel model to the code the BER vs SNR curve doesn't look realistic. What went wrong in the code?
clc ; clear all ; close all ; m =512; % Total number of OFDM symbols N =1024; % Length of each OFDM symbol M =16; % Size of...

### 0

Question

why do I get this error while using qammod? "Expected input number 1, X, to be an array with all of the values < 4."
N=256; % Number of subcarriers or size of IFFT/FFT N_data_symbol=128; % Number of symbol to IFFT GI=N/4; % Guard interval 1...