질문


Using If statement in matlab
Hello everyone, I have to understand this from you guys, that i am using this for i=1:10 if (i==1)||(i==3)||(i==5)||...

거의 10년 전 | 답변 수: 1 | 0

1

답변

질문


Using for loop in matlab
Hi everyone, I am assigning these values not in a very efficient way, can you suggest me how can i do it more efficiently? Than...

거의 10년 전 | 답변 수: 1 | 0

1

답변

질문


Generating random number from a vector
Hello everyone, If i have a vector like A = [1 2 3 4 5 6.......30] and i want to pick a random value from this vector A. How ca...

거의 10년 전 | 답변 수: 1 | 0

1

답변

질문


Need help with If statement
Hello everyone, My question is, in the below code, idsabs can take any value from 1 to 16. Depending on the value of idsabs, i ...

거의 10년 전 | 답변 수: 2 | 0

2

답변

질문


Second Y-axis on the figure window
Hi, i have these plots from my simulation. I want to put another scale on the right side of the figure window. Any help ...

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

1

답변

질문


Setting legends for multiple graphs
Hi, I have this set of plots now and i want to set a legend for all these graphs. Is there any way of doing so. All these pl...

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

1

답변

질문


Plotting with different colors
Hi everyone, i want to plot these graphs wtih different colors as at the moment all of them are black. This plot command is in...

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

2

답변

질문


Making the value approaches to 0 as K increases.
Hi, I have this one line in my code for the value of Epsilon (Epsilon Greedy Algorithm) which i want to approach to zero as k ...

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

1

답변

질문


Random number generation problem
Hello everyone, i am generating random channel assignment using randperm in the following code. Since the number of users are ...

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

2

답변

질문


Plotting the beamwidth from a matrix
Hi everyone, i have this given matrix (Elevation, azimuth & gain) in the attachment. How can i plot the 3db-beamwidth of this a...

대략 10년 전 | 답변 수: 3 | 0

3

답변

질문


Problem related to legend
Hi everyone, I have made network architecture. I am having a problem with the legends as all of them are straight lines. The b...

대략 10년 전 | 답변 수: 3 | 0

3

답변

질문


Plotting a line in matlab
Hi everyone, I am trying to draw a stright line beneath this graph for comparison evaluation but this code doesn't work for me....

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to put errorbars
Hi Everyone, How can i put errorbars in my figure below (Between red and green graphs)? <</matlabcentral/answers/uploaded_fi...

10년 초과 전 | 답변 수: 3 | 1

3

답변

질문


Plotting users in Matlab
Hi everyone, I have coded the following figure, in which the users are randomly distributed between the four blocks. I want th...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Saving figures in matlab
Hi everyone, I have this function for saving my plotting my results, i want to know that how can i save these 3 figures to the ...

10년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Plotting curve in matlab
Hi Everyone, I want to plot this curve in matlab like this, plot(of_traffic, block_Pb,'*r'); But i also want to have ...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Explain this one line of code
Hi, Can anyone explain to me this one line, what actually this one line do ? rand('state',sum(100*clock)); ...

10년 초과 전 | 답변 수: 3 | 0

3

답변

질문


Comparison with an empty matrix
Hi, I want to compare matrix with an empty matrix but it gives me an error of "Not enough input arguments." if available_...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Generating random number between 1 to 10
Hi everyone, I want to generate a random number between 1 to 10 for 10 loop iteration, with this code section of mine but i...

10년 초과 전 | 답변 수: 4 | 0

4

답변

질문


Plotting random points in matlab
Hello everyone, I have this figure which is shown below. I am getting a certain pattern of points every time i run my simulatio...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Plotting distance values with lines
Hi, I have this result. I have calculated the distance between centre(red) and all the scatter points. So i want to display th...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Plotting a Hexagon shape in matlab
<</matlabcentral/answers/uploaded_files/14349/users.png>> Hi everyone, I have this user distribution on the plane (as shown ...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to change both the axis value ranges
Hi everyone, I have plotted this for my mobile users distribution but i don't know how to change the axis on this figure now ...

10년 초과 전 | 답변 수: 2 | 0

2

답변

질문


For loop execution problem in matlab
Hi everyone, i want to do this, like for i=1:10, this function changes 0 to 1 on every first 10 loop iteration which is working...

10년 초과 전 | 답변 수: 1 | 1

1

답변

질문


Problem within the while loop
Hi everyone, This code is running but the problem which i have is in the statement enclosed in the **********. Every time the ...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Event base simulation in matlab
Hi, I don't know how to do event based simulation in matlab. Just need a start for it, this question is a start part of my bigg...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to do frequency allocation in Matlab
Hi everyone, I have a data matrix of size 100*500 in which 100 are the number of users and 500 are the number of file transmi...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Error in a user-define function calling.
Hi, i am returning multiple values from a user-function but this gives an error of *Too many output arguments* , i don't know wh...

10년 초과 전 | 답변 수: 2 | 0

2

답변

질문


100 times loop execution
Hello everyone, I have coded this file (in attachment) for a single user data traffic, now i want to run this file 100 times ...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


fprintf for printing a matrix
Hi, I have a matrix name BS_channelTable of size (5,25) containg only zeros and ones. I want to print its element using a singl...

10년 초과 전 | 답변 수: 1 | 0

1

답변

더 보기