Prashant Bhagat
Followers: 0 Following: 0
Feeds
질문
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...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
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 ...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
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...
2년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
2년 초과 전 | 답변 수: 3 | 0
3
답변질문
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년 초과 전 | 답변 수: 1 | 0