photo

Prashant Bhagat


Last seen: etwa 2 Jahre vor Aktiv seit 2022

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort