Community Profile # omar th

Last seen: 1 día ago Active since 2019

#### Statistics

• • #### Content Feed

View by

how can I plot a trajectory of moving point ?
Thank you so much

2 días ago | 0

Question

how can I plot a trajectory of moving point ?
if I have random MOVING point, can I plot its trajectory as a line ? for example when this point move from A to B, so I want to...

3 días ago | 2 answers | 0

### 2

Question

Can I copy a figure during runing ?
I want to copy a figure during running the code But I stopped the running temporary and I want to copy the figure ,, so can I ...

alrededor de 1 mes ago | 1 answer | 0

### 1

Question

Can I make addpoints function show me more than one curve in ONE figure ?

alrededor de 1 mes ago | 1 answer | 0

### 1

Question

second expression and second statement doesn't excuted in else if ?
why the second condition and second statments don't take into account (doeasn't excuted ) ? when I excuted the code only the f...

alrededor de 1 mes ago | 1 answer | 0

### 1

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

### 1

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

alrededor de 2 meses 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...

alrededor de 2 meses 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 ...

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

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

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

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

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

4 meses ago | 1 answer | 0

### 1

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

4 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) ?...

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

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

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

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

6 meses 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]...

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

6 meses 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;...

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

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

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

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

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

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

7 meses ago | 0 answers | 0