Community Profile

photo

Prashant Bhagat


Last seen: 1 year ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to plot bar graph for two different values?
I am trying to run the below code for two different values or multiple values of A and I also want to run the same script for 10...

1 year ago | 1 answer | 0

1

answer

Question


Matrix with fix number of ones
Hello guys, I want to design a matrix whose elements are 1 when the probability for that index is higher than certain probabilit...

1 year ago | 1 answer | 0

1

answer

Question


How to take average of such an array?
Z = 6×2 cell array {[1 0 2 2 1 1 3 1 1 0]} {[2 1 0 0 0 1 0 2 0 0]} {[2 2 3 3 1 3 3 2 1 0]} {[2 2 0 0 1 2 ...

1 year ago | 2 answers | 0

2

answers

Question


Want to run same script for 100 times without changing any variable and then taking the average of the output.
Hi all, I want to run the same script multiple times and then want to take the average of the results and plot them. Is there an...

1 year ago | 1 answer | 0

1

answer

Question


Script not running for different variable size.
I am running this code for Total_time = 1000 and it is working fine but when I increase this variable to 100000, it is not showi...

1 year ago | 2 answers | 0

2

answers

Question


Plot is not lined up with the X axis
Hi, I have a strange problem. My simulatiuon plot is not lined with the x-axis. can anyone please help me for that. I am attac...

1 year ago | 1 answer | 0

1

answer

Question


How to find the length of intersection of rows of a matrix?
I have a matrix A = 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1...

1 year ago | 3 answers | 0

3

answers

Question


unable to get desired results
Please find the below code. User = zeros(1,10); for i = 1:10 probability_of_transmission = rand(1); if probability_of...

2 years ago | 1 answer | 0

1

answer