Community Profile # omar th

Last seen: 2 days ago Active since 2019

#### Statistics

• • #### Content Feed

View by

Question

plot what is calculated inside REPEATED for loop as one curve in one figure ?
can I plot x(i) outside the while and for loops ? which means I want to display one figure and one curve show me x value corresp...

12 days ago | 0 answers | 0

### 0

Question

how can I find the max value out of iterative for loop ?
here, the problem is when, for loop iterate itself let's say 5 times, the first maxvalue from is 9, the second is 3, the third i...

13 days ago | 1 answer | 0

### 1

Question

If for loop repeated itself many times, can I plot what calculated inside for loop in ONE CURVE ?
I tried to plot " x " via putting the plot inside for loop I got the plot of " x " from 1 : 20, But when the for loop repeated ...

14 days ago | 1 answer | 0

### 1

Question

how can we use max function inside while loop ?
My question, can we choose the maximimum value out of the maxvalue as explained below the first maxvalue 4 the second maxvalue ...

16 days ago | 1 answer | 0

### 1

Question

How can I find the max value from many max values inside the " WHILE LOOP " ?
if we run the code below we will get the maxpower in each round of "for loop" means the for loop starts from -28.64 up to +28.64...

19 days ago | 1 answer | 0

### 1

Question

which loop should I use (while loop or for loop) to find the max power for all steps from the begining to the last step for random points ?
first, below I deployed two random points. second i measured the power in each moving step. third I measured the max power in ...

23 days ago | 0 answers | 0

### 0

Question

how can I choose values from a vector ascendingly and concequently ?
X = [-28.6479 -27.5 -18.33 -13.75 -11 -9.16 -7.85 -6.87 -6.11 -5.5 5.5 6.11 6.87 7.85 9.16 11 13.75 18.33 27.5 28.6479...

30 days ago | 1 answer | 0

### 1

Question

can I compare the previous state with current state in " While loop " ?
While loop used to move the ponts from position to position in one shot (each one second). now my question can I can iterate the...

2 months ago | 1 answer | 0

### 1

can I excute two plots in single ishghandle ?
Thank you so much

2 months ago | 0

Question

can I excute two plots in single ishghandle ?
I am using ishghandle in while loop, So I want to animate two plots in single ishghandle, Can I animate hdots(1) and hdots (2) ?...

2 months ago | 2 answers | 0

### 2

Question

During the moving random points, I don't see animation, instead I see re scattering?
Please, would you tell me why the random points is not moving, they just re-scatter in each time step, while I am trying to anim...

2 months ago | 1 answer | 0

### 1

Question

why get this message "Array indices must be positive integers or logical values." i for loop?
I got the error message " Array indices must be positive integers or logical values" I would appreciate any help. thanks in ad...

3 months ago | 1 answer | 0

### 1

Question

How can I export the results to Excel for all loop steps ?
I used this xlswrite('D:\data.xlsx','SINR'); to save the result in excel file but I couldn't save it for all loop steps its alw...

4 months ago | 0 answers | 0

### 0

Question

If I am runing a code has several iterations, Can I get the time of simulation after running for many minutes ?
Simply, I want after stopping my simulation I want to show me the real time that took it for example, 10 minutes thanks in ad...

4 months ago | 1 answer | 0

### 1

Question

Can I use the vector values as an expression in " If condition" ?
Can I use the vector values as an expression in " if " % Distance as vector D1 = [500 456 789 963 302 423 700 785]; [M, Indx]...

4 months ago | 1 answer | 0

### 1

Question

How can I find the Euclidean distance between moving points?
I deployed number of random points with their speed and displacement, how can I make these point MOVING frequently each second...

4 months ago | 0 answers | 0

### 0

Question

Can I partition a matrix ito several seperated parts ?
can I partition this matrix into 4 parts ? assume this matrix 29X1, A = [2;2;-3;4;5;6;7;-8;9;-6;5;4;-2;1;3;-9;8;7;4;-5;6;3;2;...

5 months ago | 2 answers | 0

### 2

Question

Can I sort each of these group associated random points SEPARATELY for each point ?
Can I sort these group of assigned point seperatly, which means I want to know exactly the group of RED points (as vectors it ...

5 months ago | 0 answers | 0

### 0

Question

How can I let the loop continue when the condition is satisfied ?
I formulated a potential game theory and I want the loop continue when reach Nash equilibrium( or when the condition that I make...

5 months ago | 1 answer | 0

### 1

Question

How can I solve this error "Array indices must be positive integers or logical values." and make a condition to fix it as index?
I want make the condition in the line 40th somthing like ,,,, if mindistD > maxrange^2 and mindistD<maxrangeD2 and then fix it i...

5 months ago | 1 answer | 0

### 1

Question

How to add, multiply and subtract two matrices have different length ?
If I have matrix A =[2 2 1; 1 2 5; 1 2 3], B=[1 2; 1 1], How can I add or subtract these matrices while they have different len...

5 months ago | 2 answers | 0

### 2

Question

Why when I run this code I got this error messege "Index exceeds array bounds." and this "Matrix dimensions must agree." ?
Why, when I run this code I got result of " SINR_Dcell " BUT i get the error messege this time "Index exceeds array bounds." and...

5 months ago | 1 answer | 0

### 1

Question

Is there someone interseting in Non-cooperative Game theory, in MAtlab?
Is there someone guide me to implement multiple Players exact potential game theory ? I assumed No of players are distributed ra...

5 months ago | 0 answers | 0

### 0

Question

How can I consider the number of players, if I want to frmulate game theory in matlab ?
If I want to formulate a game according to game theory, I deployed number of random points, so,Should I consider NumPoints as ...

6 months ago | 1 answer | 0

### 1

Question

If I scattered number of points, can I sort or (determine) the exact location for each random point in matlab ?
if I distribute number of points randomly (NumUEs), so these random points associated with another random points (NumBSs=2; Num...

6 months ago | 0 answers | 0

### 0

Question

Can we assign or associate the random points only that located inside the a specific range ?
Is there a way to assign the RED points which are located within the STARS range (assume STARS have range (as circle) is 100m...

6 months ago | 1 answer | 0

### 1

Question

Does there away to make the drones flying toward the exact positions of users by using Matlab?
Does there away to make the drones flying toward the exact positions of users (users and drones are randomly distributed ), whic...

7 months ago | 0 answers | 0

### 0

Question

How can I Associate the users to moving Drones and how to MOVE the Drone toward a specific user in matlab?
How to assign the users (distributed randomly) to the moving drones (also distributed randomly) and can the drone know the pos...

7 months ago | 0 answers | 0

### 0

Question

Please, would you tell me if this code is CORRECT or NOT to measure the path loss, and the SNR ?
I just wanted to make sure if this code correct to measure the path loss and SNR specifically to use the euclidean distance be...

8 months ago | 0 answers | 0