Community Profile

# Aftab Ahmed Khan

Seeking to improve my ability to communications system. Use Matlab for Network and traffic analysis.
A big Fan of community-based learning like Matlab Answers; appreciate the help I've gotten here. Thank you so much everyone.

Ver insignias

#### Content Feed

Ver por

Pregunta

Reducing the number of data points on the grapth
Hello How can i reduce the number of data points for every graph? I want the line to be plotted with the original number of dat...

casi 5 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Getting the minimum value from a row vector
Hi, I am calculating a min value in a row vector one after the other. There are two repetitions in the row vector. I want to pi...

más de 6 años hace | 2 respuestas | 0

### 2

respuestas

Pregunta

Generating random number from a given sequence.
Hello, I am generating a random sequence of channels one after another based on its availability. The way i'm doing it is like ...

más de 6 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Indices of a maximum value in a multidimensional matrix.
Hi, I have a multidimensional matrix of size (100,16,4,10) and i want to calculate all the 4 indices of the max value in it? An...

más de 6 años hace | 2 respuestas | 0

### 2

respuestas

Pregunta

Help needed with the find function
Hello everyone, I have this section of code. I want to find the closest node among the two sets of base stations. The way i am ...

más de 6 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Problem with legends for multiple entries
Hello everyone, I am plotting different entities on the figure window. The problem is when i use the legend function, it doesn'...

más de 6 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Combining 3 for loops into 1 in Matlab
I have this section of code which is working fine but i don't like the way i have implemented those 3 separate for loops. Can an...

casi 7 años hace | 0 respuestas | 0

### 0

respuestas

Pregunta

Unable to sort symbolic variables in matlab
There is a an issue in one section of my code. Let I have this symbolic equation. When i use the coeffs function like this it g...

casi 7 años hace | 2 respuestas | 0

### 2

respuestas

Pregunta

Creating linear equations in matlab
Hello, How can i create 9 different equations in matlab if i have this general form of equations. I never did any thing of th...

casi 7 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Zooming a portion of a figure with multiple .mat files
Hello everyone, I have this image having four graphs. I want to zoom-in on the end overlapped section of this figure. This is m...

alrededor de 7 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Shade the area between two graphs
Hi, i have this graph from my simulation. I want to highlight the area between the two graph with some colors. How can i do it ...

alrededor de 7 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Problem with Nested if statements
Hi everyone, I am using nested if statements to perform a subsection of my project but i don't like the way i have implemented...

alrededor de 7 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Exponential Distribution for random number
Hi, How can i generate an exponential distributed random integer from the interval [1 16]. Thank you so much.

alrededor de 7 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Problem with find function
Hello everyone, i am having two vectors and i want to find the index by doing so but it gives me an error. However it works fin...

más de 7 años hace | 2 respuestas | 0

### 2

respuestas

Pregunta

Video traffic model in matlab
Hi everyone, I am using file based traffic model (Exponential Distribution) with mean size of 2-MB for my communication network...

más de 7 años hace | 0 respuestas | 0

### 0

respuestas

Pregunta

Greek Symbol lambda using fprintf
Hi everyone, i am using \lambda for the greek symbol lambda inside the fprintf function but it is not working for me. Any help ...

más de 7 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Problem with fprintf function
Hi, This is my command window. The second last column of "bnum" is a bit inward in the middle. I don't know how to make it exac...

más de 7 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Missing One entry in Legend while using Plotyy function
Hi everyone, I am plotting multiple graph using plotyy function. All the graphs are plotted but the legend section is not displ...

casi 8 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Changing y-axis for Bar graph
Hi Everyone, I am plotting these bar graphs but i want the y-axis to be from 3 sec to 4 sec. So to make the variation more visi...

casi 8 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Plotting multiple bar graphs
Hi everyone, I am plotting 3 different bar graphs on a same figure window. I have managed up to this point, shown in the figure...

casi 8 años hace | 3 respuestas | 1

### 3

respuestas

Pregunta

Plotting 10 graphs with different colors and markers
Hi everyone, I am plotting 10 graphs on a single figure from a different 10 sets of data. I know only these 5 colors and marke...

casi 8 años hace | 3 respuestas | 0

### 3

respuestas

Pregunta

Implementing a routing table in Matlab
Hi, This is my routing table which i have made. I want to ask that is there any better way in which i can implement this. Than...

casi 8 años hace | 2 respuestas | 0

### 2

respuestas

Pregunta

Simplifying the If statements.
Hello Everyone, I am making this routing table for my network which is working fine but is there any efficient way of doing thi...

casi 8 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Problem with the legend for the multiple axes.
Hi everyone, I am plotting two graph using multiple axes option, the problem i am having now is with the legend. It is displayi...

casi 8 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Plotting using multiple x-axes and y-axes.
Hi everyone, i am plotting two curves on a same figure, since the x-axis scale is different for both of them, so i am using mul...

casi 8 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Problem with rng shuffle
Hello everyone, I am running my simulation for like 50000 iterations but when i use rng('shuffle') during each itera...

casi 8 años hace | 3 respuestas | 1

### 3

respuestas

Pregunta

Selecting a random number with some probability
Hello Everyone, I am using this one line of code to generate a single value either to be 1 or 2 with equal probability but my q...

casi 8 años hace | 6 respuestas | 2

### 6

respuestas

Pregunta

Problem with fprintf command
hello everyone, I have this set of schemes which i want to print. The way i am doing is like this, The "pno" control for me the...

casi 8 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Plotting with dfferent colors
Hello everyone, I am loading three mat files into matlab but each time i want the color of the graph should be like red, green ...

casi 8 años hace | 1 respuesta | 0

respuesta

Pregunta