질문


how to use repmat command in the for loop
could anyone help me how to use repmat command in the for loop

대략 8년 전 | 답변 수: 0 | 0

0

답변

질문


Could anyone help me to solve the apply the repmat command in the code.
A=[ 1 2 3 4 5 31 36 71 72; 11 12 13 14 15 32 37 73 74; 6 7 8 9 10 33 38 75 76; 21 22 23 24 25 34 39 77 78...

대략 8년 전 | 답변 수: 0 | 0

0

답변

질문


displaying the index of number
If p=1:1000; a=sort(p); Could anyone tell me how to display index of p after sorting it.{(p(1)=1,P(2)=2;P(3)=3...........

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


how to calculate the throughput for the expression
clear all; clc; B=100; C=[0 0 41 4 0; 45 12 0 0 15; 6 43 0 0 10; 0 0 23 42 0; 26 27 0 0 4...

대략 8년 전 | 답변 수: 0 | 0

0

답변

질문


how to write a1=1;a2=2;a3=3; from A
if A=1:1000 how to write a1=1;a2=2;a3=3;.......a1000=1000; from A

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


random clustering of any number of rows and columns
The following code executes A=[0 0 41 0 0; 0 0 0 42 0]; non_0=sum(A); non_0...

대략 8년 전 | 답변 수: 0 | 0

0

답변

질문


How to get rid of the error
N_UE=[10 20 30 40 50]; N_SC=[60 70 80 90 100]; for t= 1:length(N_UE) for r = 1:length(N_SC) G=rand(N_UE(t),N_SC(r)...

대략 8년 전 | 답변 수: 0 | 0

0

답변

질문


could anyone tell me how to select arbitrary row groups in a random manner from the matrix of (50,100)
could anyone tell me how to select arbitrary row groups in a random manner from the matrix of (50,100)

대략 8년 전 | 답변 수: 0 | 0

0

답변

질문


how can arbitrary row groups can be selected.
If A=50; B=100; C=rand(50,100); How can the arbitrary row groups can be selected.

대략 8년 전 | 답변 수: 0 | 0

0

답변

질문


Could anyone help me to obtain new_C for the below mentioned code
If C=[0 0 41 0 0; 45 0 0 0 0; 0 43 0 0 0; 0 0 0 42 0; 0 0 0 0 44] non_0= sum(C); non_0=r...

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


could anyone help me to get C from A and B
If A = 1 2 3 4 5 11 12 13 14 15 6 7 8 9 10 21 ...

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


what is the difference between user index and number of users
what is the difference between user index and number of users

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


how to avoid the following error
how to overcome Undefined function 'sum' for input arguments of type 'function_handle'. Error in overall_throughput_Et = sum(su...

대략 8년 전 | 답변 수: 2 | 0

2

답변

질문


how to overcome the error
Bmax=2000000; %maximum available bandwidth for OFDMA noise=1e-9; %fixed noise power is assumed p_fix=0.01; %fixed t...

대략 8년 전 | 답변 수: 2 | 0

2

답변

질문


What is the difference between sum and symsum
could anyone tell me what is the difference between sum and symsum

대략 8년 전 | 답변 수: 2 | 0

2

답변

질문


how to get rid of the following error
q=1:t-1; throughput_E = Bmax*log2(1+p_fix(t)*gamma(t)/symsum(p_fix(q,1,t-1).*gamma(t))) If i run the code i am getting...

대략 8년 전 | 답변 수: 2 | 0

2

답변

질문


how to overcome undefined function sum.
throughput_E =@(t)Bmax*log2(1+p_fix(t)*gamma(t)/sum(p_fix(q,1,t-1).*gamma(t))); overall_throughput_E = sum(sum(...

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


writing equation in matlab
How to write the equation of image in matlab. The parameters of the image are i->number of users; gamma is the normalized c...

대략 8년 전 | 답변 수: 2 | 0

2

답변

질문


Could anybody tell me the working of coding
clear all; clc; N_UE=[10 20 30 40 50]; N_SC=[60 70 80 90 100]; for t= 1:length(N_UE) for r = 1:length(N_SC) ...

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


Please explain me on Attempted to access C_copy(1,:);
N_UE=[10 20 30 40 50]; N_SC=[60 70 80 90 100]; C=rand(N_UE(t),N_SC(r)); C_copy = C; sz=length(C_copy(1,:)) ...

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


can anyone help me to solve the error
clear all; clc; N_UE=[2 4 6 8 10]; N_SC=[12 14 16 18 20]; for t= 1:length(N_UE) for r = 1:length(N_SC) C=ra...

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


How to do random grouping of users for the following code
C= [0 0 0 0 0.00468466484961233 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0; 0 0 0 0 0 0.00473152126698343 0 0 0 0 0 0 0 0 0 0 0 0 0 0; ...

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


Could any one tell me how to overcome the Error using randi First input must be a positive scalar integer value IMAX, or two integer values [IMIN IMAX] with IMIN less than or equal to IMAX. Error in test (line 22) e=randi([1
clear all; clc; N_UE=[10 20 30 40 50]; N_SC=[60 70 80 90 100]; for t= 1:length(N_UE) for r = 1:length(N_SC)...

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


Difference between () and ([])
What is the difference C=rand(4,10) and C=rand([4,10])

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


Could anyone help me to solve the issue of the size of the matrix
If i run the following code clc clear all %-----Simulation Parameters-----% Bmax=2000000; %maximum available bandw...

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


please help me to solve the issue:
clear all clc %-----Simulation Parameters-----% Bmax=2000000; %maximum available bandwidth for OFDMA noise=1e-9; %...

대략 8년 전 | 답변 수: 1 | 0

1

답변

질문


can anybody help me to execute the following code
numUsers = diag([1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20]); N_UE = 1 : numUsers % Get a scrambled array...

대략 8년 전 | 답변 수: 0 | 0

0

답변

질문


How to overcome the error
N_UE=[2 4 6 8 10]; numGroups = 5; for t= numGroups:length(N_UE) % divisions = sort(randperm(numGroups,t) , 'ascend')...

대략 8년 전 | 답변 수: 0 | 0

0

답변

질문


Could anyone help me to overcome the error
clear all clc %-----Simulation Parameters-----% Bmax=2000000; %maximum available bandwidth for OFDMA noise=1e-9; %...

대략 8년 전 | 답변 수: 0 | 0

0

답변

질문


how to remove the index number
Could anybody help me how to remove the index number in for loop for the code mentioned below under the scenario it should not ...

대략 8년 전 | 답변 수: 1 | 0

1

답변

더 보기