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.

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

2 years ago | 1 answer | 0

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

3 years ago | 2 answers | 0

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

3 years ago | 1 answer | 0

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

3 years ago | 2 answers | 0

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

3 years ago | 1 answer | 0

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

3 years ago | 1 answer | 0

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

4 years ago | 0 answers | 0

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

4 years ago | 2 answers | 0

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

4 years ago | 1 answer | 0

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

4 years ago | 1 answer | 0

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

4 years ago | 1 answer | 0

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

4 years ago | 1 answer | 0

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.

4 years ago | 1 answer | 0

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

4 years ago | 2 answers | 0

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

4 years ago | 0 answers | 0

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

4 years ago | 1 answer | 0

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

4 years ago | 1 answer | 0

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

5 years ago | 1 answer | 0

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

5 years ago | 1 answer | 0

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

5 years ago | 3 answers | 0

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

5 years ago | 2 answers | 0

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

5 years ago | 2 answers | 0

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

5 years ago | 1 answer | 0

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

5 years ago | 1 answer | 0

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

5 years ago | 1 answer | 0

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

5 years ago | 3 answers | 1

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

5 years ago | 5 answers | 1

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

5 years ago | 1 answer | 0

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

5 years ago | 1 answer | 0

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

5 years ago | 2 answers | 0