# Hanojhan Rajahrajasingh

**Statistics**

RANK**11 129**

of 279 895

REPUTATION**4**

CONTRIBUTIONS

**15** Questions

**3** Answers

ANSWER ACCEPTANCE **
13.33%
**

VOTES RECEIVED**1**

RANK

of 18 775

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 128 717

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

How to calculate BER vs. SNR in ACO-OFDM system over VLC channel?

Did you find a solution to this problem?

4 månader ago | 0

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 ...

5 månader ago | 0 answers | 0

### 0

answersQuestion

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...

5 månader ago | 0 answers | 0

### 0

answersQuestion

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 ...

6 månader ago | 0 answers | 0

### 0

answersQuestion

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...

7 månader ago | 0 answers | 0

### 0

answersQuestion

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 ( ...

7 månader ago | 0 answers | 0

### 0

answersQuestion

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 ( ...

7 månader ago | 1 answer | 0

### 1

answerQuestion

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...

7 månader ago | 0 answers | 0

### 0

answersQuestion

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 ( ...

8 månader ago | 1 answer | 0

### 1

answerHow 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...

8 månader ago | 1

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 ( ...

8 månader ago | 0 answers | 0

### 0

answersHi! 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...

8 månader ago | 0

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 ( ...

8 månader ago | 1 answer | 0

### 1

answerQuestion

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...

8 månader ago | 0 answers | 0

### 0

answersQuestion

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...

8 månader ago | 0 answers | 0

### 0

answersQuestion

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...

8 månader ago | 0 answers | 0

### 0

answersQuestion

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...

8 månader ago | 1 answer | 0

### 1

answerQuestion

When I run this code to depict the performance of a DCO-OFDM system, I'm getting an error with the randi function. Can you help me fix it?

clc ; clear all ; close all ; m =512; % Total number of OFDM symbols N =1024; % Length of each OFDM symbol M =4; % Size of ...

9 månader ago | 1 answer | 0