Community Profile

photo

Aftab Ahmed Khan


66 total contributions since 2014

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.

Contact

Aftab Ahmed Khan's Badges

  • Thankful Level 4

View details...

Contributions in
View by

Question


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

meer dan een jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 3 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 3 jaar ago | 2 answers | 0

2

answers

Question


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

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 3 jaar ago | 0 answers | 0

0

answers

Question


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

meer dan 3 jaar ago | 2 answers | 0

2

answers

Question


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

meer dan 3 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 4 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 4 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 4 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 4 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 4 jaar ago | 2 answers | 0

2

answers

Question


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

bijna 4 jaar ago | 0 answers | 0

0

answers

Question


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

bijna 4 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 4 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 4 jaar ago | 3 answers | 0

3

answers

Question


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

meer dan 4 jaar ago | 2 answers | 0

2

answers

Question


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

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 4 jaar ago | 3 answers | 1

3

answers

Question


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

meer dan 4 jaar ago | 5 answers | 1

5

answers

Question


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

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


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

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


Loading multiple mat files
Hello everyone, i want to load this 3 set of data files into matlab using for loop but it is not working for me. Any help.........

meer dan 4 jaar ago | 2 answers | 0

2

answers

Load more