# Ali Algushti

**Statistics**

RANK**182,194**

of 244,080

REPUTATION**0**

CONTRIBUTIONS

**30** Questions

**0** Answers

ANSWER ACCEPTANCE **
66.67%
**

VOTES RECEIVED**0**

RANK

of 17,064

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

I have a problem with the figure, if you saw the picture below you will find it blurry.. How I can fix this problem

1 month ago | 0 answers | 0

### 0

answersQuestion

This is a part of a code and I want to add something to it, description below

%This is a part of a code and I want to add something to it so instead of Deleting all the Users row from Heff that correspondin...

1 month ago | 1 answer | 0

### 1

answerQuestion

I have a Matrix , and I want to multiply this Matrix with something so I can get zeros

% for an example *(pinv(P1))*P1=unity Matrix I want the same thing : ?*P1=zeros %This ? should be related to P1 like the above...

1 month ago | 2 answers | 0

### 2

answersQuestion

I want to change the size of T so I can Add it to P2 (the size of T should be the size of P1 or the size of P2)

P1=[3 2 4;2 1 1;5 2 3;2 3 7] P2=[2 6 1;1 3 5;4 2 1;5 2 1]; P1_Zero=pinv(P1) T=P1_Zero*P1 Q=P2+T

1 month ago | 1 answer | 0

### 1

answerQuestion

I want the Mathematics equations for the Genetic Algorithm.

the Mathematics equations for the Genetic Algorithm function

2 months ago | 1 answer | 0

### 1

answerQuestion

How do I cite Genetic Algorithm in a published journal or paper, because I use it in my code and I wrote about the documentation in my thesis so I want to cite it?

Genetic algorithm solver for mixed-integer or continuous-variable optimization, constrained or unconstrained, Genetic algorithm ...

2 months ago | 1 answer | 0

### 1

answerQuestion

in the picture below you can find a message which describe what I need to fix in these two equations in the description.

Theta_opt = inv(A + diag(zeta))*b;

3 months ago | 1 answer | 0

### 1

answerQuestion

I have a problem with my code, it works fine but the results it isn't correct because the code is not compatible with the equations .. description below

clc; clear; M = 60; N = 36; K = 5; x = rand(1,N); theta = (2*pi)*x; % generated randomly Phi = diag(exp(1i*theta...

4 months ago | 1 answer | 0

### 1

answerQuestion

The Loops in the first picture are required, the description is below

%% Suppose I have W and Theta, k=1:K .. K=(any value) let say 10 %% Alfa_k=zeros(1,k); ...

4 months ago | 1 answer | 0

### 1

answerQuestion

I want to return the value of x , description below

dg = sum(log2(1+R)); %Capacity end

4 months ago | 1 answer | 0

### 1

answerQuestion

matrices multiplication , the description below

% W,H values is for example .. They can be with any dimension but always the number of rows of H is equal to the number of colum...

4 months ago | 1 answer | 0

### 1

answerQuestion

the description below .. for loop and matrices

% when o=1 I want to multiply the second row of H with the second column of W and sum it with the multiplication of the third ro...

4 months ago | 1 answer | 0

### 1

answerQuestion

in each iteration I want to get the sum of all elements except of the i element

%% for example in the second itreation (i=2) I want the sum of all elements except the 3 (second element) a=[1 3 2 1 4 2 1 5 1 ...

4 months ago | 1 answer | 0

### 1

answerQuestion

I have 4 bits combinations, and I want to change the size of the matrix HT depending on these combinations, the description below

First ___ I creat the combinations like the follow: n=4; %number of bits r = [ 0:2^n-1 ]; A = []; for i = 1 : n A = [A;r]...

4 months ago | 1 answer | 0

### 1

answerQuestion

from C_T_Sep_1 to C_T_Sep_10 they are vectors the same thing for C_A_Sep_1... C_A_Sep_10, I want to create matrix C_T_Sep and C_A_Sep and put the vector inside it, using loop

C_T_Sep_1 = importdata('C_T_Sep_1.txt') ; C_A_Sep_1 = importdata('C_A_Sep_1.txt') ; C_T_Sep_2 = importdata('C_T_Sep_2.txt') ;...

4 months ago | 1 answer | 0

### 1

answerQuestion

How to save the values of (x,C) in file 1 and (x,y) in file 2 to plot them in file 3.. the description in the code below

% file 1 clc; clear; x=[1 3 2 5 8] for i=1:10 C=i*(x); end %%%%%%%%%%%%%%%%%%%%%%%%%%% % file 2 clc; clear; y=[...

4 months ago | 1 answer | 0

### 1

answerQuestion

how I can insert these specific colours into my figures

newcolors = [0 0.4470 0.7410 0.8500 0.3250 0.0980 0.9290 0.6940 0.1250 0.25 0.80 0.54 ...

4 months ago | 1 answer | 0

### 1

answerQuestion

the colors red, blue, yellow repeated again in my plot, how I can give each curve in the plot different color

clc; clear; K=1:30; for i=1:10 C_T=i*log(K); plot_T = plot(K,C_T,'-O','LineWidth',2); hold on grid on title('Total C...

4 months ago | 1 answer | 0

### 1

answerQuestion

I have P=[2 3 4 0 5 1 0 2 ]; and I want to create a loop to remove zeros from P and calculate C, description in the code

%% , for example P=[2 0 4 0 5 1 2 0 ]; and after the first iteration P=[2 4 0 5 1 2 0]; and second iteration P=[2 0 4 5 1 2 ...

4 months ago | 1 answer | 0

### 1

answerQuestion

the (if statement) condition happens only ones but I want to repeat this if (F Zero) is still not empty

if (~isempty(F_Zero)) %There is Zeros (not empty) W(:,F_Zero) = []; % Remove the columns of W HT(F_Zero,:...

4 months ago | 1 answer | 0

### 1

answerQuestion

if you run F Zero you will get [2 5], I want to delete the column number 2 and 5 from the Matrix W, but the problem is when I'm deleting the columns it deletes number 2 and 6

clc; clear; W=rand(6) Pt=10; Pn=[2 7 3 2 8 4]; P = waterfill(Pt,Pn); F_Zero=find(~P) %Find Zeros %% delete the col...

4 months ago | 1 answer | 0

### 1

answerQuestion

How I can separate my code and let it run in parallel, because for loop is making the code execution very slowly

clc; clear; M=60; N=(linspace(6,10,5)).^2; %Number of Elements IRS K=linspace(4,10,7); %Number of Single Antennas UE L = ...

5 months ago | 1 answer | 0

### 1

answerQuestion

I want to change the for loop to speed up my code

clc; clear; M=60; N=(linspace(6,10,5)).^2; %Number of Elements IRS K=linspace(4,10,7); %Number of Single Antennas UE L = ...

5 months ago | 1 answer | 0

### 1

answerQuestion

I specified more parameters to GA in order to speed up my code execution by using (optimoptions), I want to know the best values for these parameters and the meaning of it

opts = optimoptions(@ga, ... 'PopulationSize', 150, ... 'MaxGenerations', 200, ... ...

5 months ago | 1 answer | 0

### 1

answerQuestion

difference between Optimization terminated: maximum number of generations exceeded and Optimization terminated: average change in the fitness value less than .

1- Optimization terminated: average change in the fitness value less than options.FunctionTolerance. 2- Optimization terminated...

5 months ago | 1 answer | 0

### 1

answerQuestion

How I can specify more parameters to GA in order to speed up my code execution. with the help of (optimoptions function of ga).. opts = optimoptions(@ga,

%% Genetic Algorithm FT=@(x)-Genetic_A(x); A = []; % No other constraints b = []; Aeq = []; beq = []; lb = zeros(1,n); ub...

5 months ago | 1 answer | 0

### 1

answerQuestion

I want to save my figure in another path. Every time I used the command save figure it saved in Desktop how I can change it

clc; clear; N = [10 20 30 40 50]; M = [1 2 3 4 5]; K=[1 3 5 6 7]; x = linspace(0, 1, 17); legendString = "N = " + string(N...

5 months ago | 1 answer | 0

### 1

answerQuestion

I want to see N,M first and then K,M in the same legend. I can see only N,M like the attached picture.

clc; clear; N = [10 20 30 40 50]; M = [1 2 3 4 5]; K=[1 3 5 6 7]; x = linspace(0, 1, 17); legendString = "N = " + stri...

5 months ago | 1 answer | 0

### 1

answerQuestion

I want my legend just like the pic. 2 variables in 2 columns at the same legend

clc; clear; N = [10 20 30 40 50]; M = [1 2 3 4 5]; x = linspace(0, 1, 17); plot(x, N.*x.') legendString = "N = " + strin...

5 months ago | 1 answer | 0

### 1

answerQuestion

The Average of the Matrix G with the dimension (M,n) that I'm repeating 3 times in a loop so I'll have 3 matrices of G (M,n) and I want to take the Average of these 3 matrices so I can get only one matrix of G(M,n) represent the Average of them)

clc; clear; M=5; n=3; freq = 28e9; lambda = physconst('LightSpeed')/freq; d_BS=lambda/2; %Inter-antenna separat...

5 months ago | 2 answers | 0