Answered

Doubt about NR PDSCH Throughput example

Hi Angelo Rob, Please refer to the answer placed in https://www.mathworks.com/matlabcentral/answers/549510-input-bits-in-nr-pds...

Doubt about NR PDSCH Throughput example

Hi Angelo Rob, Please refer to the answer placed in https://www.mathworks.com/matlabcentral/answers/549510-input-bits-in-nr-pds...

23 days ago | 0

Answered

Input bits in NR PDSCH Throughput example

Hi AngeloRob, Inorder to get the bit error rate, the simplest is to store an array of bit errors, similar to simThroughput valu...

Input bits in NR PDSCH Throughput example

Hi AngeloRob, Inorder to get the bit error rate, the simplest is to store an array of bit errors, similar to simThroughput valu...

23 days ago | 0

Answered

reverse indexing of a matrix in matlab

Hi Lilly, You get error at that line, because, you just removed the sort operation, which can provide two outputs. The code ca...

reverse indexing of a matrix in matlab

Hi Lilly, You get error at that line, because, you just removed the sort operation, which can provide two outputs. The code ca...

1 month ago | 0

| accepted

Solved

Back to basics 10 - Max Float

Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...

2 months ago

Solved

Squaring Matrix

Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

2 months ago

Solved

Return 'on' or 'off'

When the input is true, return 'on', otherwise, return 'off'.

2 months ago

Solved

Divide by 4

Given the variable x as your input, divide it by four and put the result in y.

2 months ago

Answered

model to create V2X applications

Hi Prateek, For a quick start, in terms of LTE based sidelink V2X communications, at the L1-L3 link-level, the LTE Toolbox has ...

model to create V2X applications

Hi Prateek, For a quick start, in terms of LTE based sidelink V2X communications, at the L1-L3 link-level, the LTE Toolbox has ...

2 months ago | 1

| accepted

Answered

xyz2rgb input arg

Hi Loong, XYZ is the tristimulus values and not the coordinate system, since the color space is varied from XYZ to RGB. You ca...

xyz2rgb input arg

Hi Loong, XYZ is the tristimulus values and not the coordinate system, since the color space is varied from XYZ to RGB. You ca...

2 months ago | 0

| accepted

Answered

channel coefficient generation for TDL channels

Hi Ashok, To get the path filter impulse response for link-level MIMO fading channel (i.e. nrCDLChannel or nrTDLChannel), use t...

channel coefficient generation for TDL channels

Hi Ashok, To get the path filter impulse response for link-level MIMO fading channel (i.e. nrCDLChannel or nrTDLChannel), use t...

2 months ago | 0

Answered

Frame structure in NR PDSCH Throughput example

Hi Angelo, The example considers each slot in a frame is allocated for the downlink transmission. For a 15 kHz SCS, in each fra...

Frame structure in NR PDSCH Throughput example

Hi Angelo, The example considers each slot in a frame is allocated for the downlink transmission. For a 15 kHz SCS, in each fra...

2 months ago | 0

Answered

Reserved PRB in PDSCH object from 5G toolbox not working

Hi Christian, Thanks for sharing the code. The issue of PDSCH not rate-matching around the SSB comes from the incorrect assign...

Reserved PRB in PDSCH object from 5G toolbox not working

Hi Christian, Thanks for sharing the code. The issue of PDSCH not rate-matching around the SSB comes from the incorrect assign...

3 months ago | 0

| accepted

Answered

5G NR Synchronization Procedures

Hi Xiangwei, You are almost right, in expressing the words. Minor correction: Though we can extract the SSB with the stronges...

5G NR Synchronization Procedures

Hi Xiangwei, You are almost right, in expressing the words. Minor correction: Though we can extract the SSB with the stronges...

3 months ago | 0

| accepted

Answered

QAM modulation in Uplink and Downlink Carrier Waveform Generation

Hi Javier, Based on the plots, i see it is placed for an uplink waveform generation example. The uniform color for QPSK with g...

QAM modulation in Uplink and Downlink Carrier Waveform Generation

Hi Javier, Based on the plots, i see it is placed for an uplink waveform generation example. The uniform color for QPSK with g...

3 months ago | 0

| accepted

Answered

Modify number of antennas in NR PDSCH Throughput

Hi Javier, The one most important aspect is to change is the number of layers. The number of layers decide whether the number o...

Modify number of antennas in NR PDSCH Throughput

Hi Javier, The one most important aspect is to change is the number of layers. The number of layers decide whether the number o...

3 months ago | 0

| accepted

Answered

5G NR Downlink Carrier Waveform Generation

Hi Javier, You can provide any values. But the best guide to run different simulations is the Transmission bandwidth configurat...

5G NR Downlink Carrier Waveform Generation

Hi Javier, You can provide any values. But the best guide to run different simulations is the Transmission bandwidth configurat...

3 months ago | 0

| accepted

Answered

SRS in Uplink Carrier Waveform Generation

Hi, Its because in the SRS Instances configuration, the Enable field is set to 0. Here is the code that is present in that sect...

SRS in Uplink Carrier Waveform Generation

Hi, Its because in the SRS Instances configuration, the Enable field is set to 0. Here is the code that is present in that sect...

3 months ago | 0

| accepted

Answered

Plot f(x,y) = sin(2piX)sin(2piY)

Hi William, Try this: x = -2:.1:2 y = -2:.1:2 [X,Y] = meshgrid(x,y) Z = sin(2*pi*X).*sin(2*pi*Y) % Peform element wise mult...

Plot f(x,y) = sin(2piX)sin(2piY)

Hi William, Try this: x = -2:.1:2 y = -2:.1:2 [X,Y] = meshgrid(x,y) Z = sin(2*pi*X).*sin(2*pi*Y) % Peform element wise mult...

3 months ago | 0

Answered

Hey, I am having trouble indexing into string vectors

Hi, Update this as below: res = ["ABC" , "DEF" , "GHI"] tf = [1 0 1]; % This is of type double, so convert to logical as ...

Hey, I am having trouble indexing into string vectors

Hi, Update this as below: res = ["ABC" , "DEF" , "GHI"] tf = [1 0 1]; % This is of type double, so convert to logical as ...

3 months ago | 2

| accepted

Answered

Error: Matrix dimensions must agree

Hi Marcello, Here is what happens, in your code. Place the annotations to help you understand. ws=[2 4 6]; % w is a 1 x 3 matr...

Error: Matrix dimensions must agree

Hi Marcello, Here is what happens, in your code. Place the annotations to help you understand. ws=[2 4 6]; % w is a 1 x 3 matr...

3 months ago | 0

Answered

Find row(s) of 3x3 matrix where the 1st and 2nd column equals a value

Hi, Try this: out = M(M(:,1)==1 & M(:,2)==1,:); % For the example provided with value 1 % For any generic value out = M(M(...

Find row(s) of 3x3 matrix where the 1st and 2nd column equals a value

Hi, Try this: out = M(M(:,1)==1 & M(:,2)==1,:); % For the example provided with value 1 % For any generic value out = M(M(...

3 months ago | 0

| accepted

Answered

problem using for loop

Hi James, The variable is updated with the latest value in the for loop, leading to have only single value at the end of the fo...

problem using for loop

Hi James, The variable is updated with the latest value in the for loop, leading to have only single value at the end of the fo...

3 months ago | 0

Answered

Cannot understand about this

Hi Byeongchan, This observation is becuase the variable i and actual value in z11 and z12 are plotted. Since the effect values ...

Cannot understand about this

Hi Byeongchan, This observation is becuase the variable i and actual value in z11 and z12 are plotted. Since the effect values ...

3 months ago | 1

Answered

How do I plot a graph when the parameter changes?

Hi Donghun, This can be done by taking the maximum value of Response_amp and storing the values for each iteration of l. Then p...

How do I plot a graph when the parameter changes?

Hi Donghun, This can be done by taking the maximum value of Response_amp and storing the values for each iteration of l. Then p...

3 months ago | 1

| accepted

Answered

How to estimate channel quality using Sounding Referance Signal in 5G

Hi Kishore, Sounding reference signals are uplink physical signals used by user equipment (UE) for uplink channel sounding, inc...

How to estimate channel quality using Sounding Referance Signal in 5G

Hi Kishore, Sounding reference signals are uplink physical signals used by user equipment (UE) for uplink channel sounding, inc...

3 months ago | 0

| accepted

Answered

how to use "save" command in matlab as an indexable command

Hi Ramin, You can use a different mat file name to save each wavelet. Since, this was placed in for loop, it is always storing ...

how to use "save" command in matlab as an indexable command

Hi Ramin, You can use a different mat file name to save each wavelet. Since, this was placed in for loop, it is always storing ...

3 months ago | 0

| accepted

Answered

Why does this code give a blank plot?

Hi Keerthana, It is because the if condition placed is wrong, and always fx3 is getting 0, therby making only a single point. ...

Why does this code give a blank plot?

Hi Keerthana, It is because the if condition placed is wrong, and always fx3 is getting 0, therby making only a single point. ...

3 months ago | 0

| accepted

Answered

Combine two matrices into one

Hi Mario, As far as A and B have same sizes, you can perform the following: C = zeros(2*size(A,1),size(A,2)); C(1:2:end,:) = ...

Combine two matrices into one

Hi Mario, As far as A and B have same sizes, you can perform the following: C = zeros(2*size(A,1),size(A,2)); C(1:2:end,:) = ...

3 months ago | 0

| accepted

Answered

How can I give a figure both a name and a number?

Hi Felix, You can do that by using Name-Value pairs options of figure. You can even look at the examples provided in that page,...

How can I give a figure both a name and a number?

Hi Felix, You can do that by using Name-Value pairs options of figure. You can even look at the examples provided in that page,...

3 months ago | 0

| accepted

Answered

how to do a vector rotation?

Hi Taylor, Hope you have solved this long before. Placing the answer to help others, who might having the issue. a = [1;2]; %...

how to do a vector rotation?

Hi Taylor, Hope you have solved this long before. Placing the answer to help others, who might having the issue. a = [1;2]; %...

3 months ago | 0