Community Profile

photo

omar th


Last seen: 1 día ago Active since 2019

Statistics

  • Thankful Level 3
  • Thankful Level 2

View badges

Content Feed

View by

Question


Why does data deleted from the workspace after execution the code ?
If I have the below code, why the data are erased from the workspace after finishing the excution of the code ? function some...

alrededor de 23 horas ago | 1 answer | 0

1

answer

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

14 días ago | 0 answers | 0

0

answers

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

15 días ago | 1 answer | 0

1

answer

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

17 días ago | 1 answer | 0

1

answer

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

19 días ago | 1 answer | 0

1

answer

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

21 días ago | 1 answer | 0

1

answer

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

25 días ago | 0 answers | 0

0

answers

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

alrededor de 1 mes ago | 1 answer | 0

1

answer

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 meses ago | 1 answer | 0

1

answer

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

2 meses 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 meses ago | 2 answers | 0

2

answers

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

3 meses ago | 1 answer | 0

1

answer

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 meses ago | 1 answer | 0

1

answer

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 meses ago | 0 answers | 0

0

answers

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 meses ago | 1 answer | 0

1

answer

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 meses ago | 1 answer | 0

1

answer

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 meses ago | 0 answers | 0

0

answers

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 meses ago | 2 answers | 0

2

answers

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 meses ago | 0 answers | 0

0

answers

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 meses ago | 1 answer | 0

1

answer

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 meses ago | 1 answer | 0

1

answer

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 meses ago | 2 answers | 0

2

answers

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 meses ago | 1 answer | 0

1

answer

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

6 meses ago | 0 answers | 0

0

answers

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 meses ago | 1 answer | 0

1

answer

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 meses ago | 0 answers | 0

0

answers

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 meses ago | 1 answer | 0

1

answer

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 meses ago | 0 answers | 0

0

answers

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

8 meses ago | 0 answers | 0

0

answers

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 meses ago | 0 answers | 0

0

answers

Load more