zeezo
2016년부터 활동
Followers: 0 Following: 0
Feeds
질문
How can I find the maximum number and minimum number in a matrix?
I have this matrix A= 300 300 300 300 300 300 262 262 262 262 262 262 238 218 218 ...
6년 초과 전 | 답변 수: 2 | 0
2
답변질문
How to Generate random number that most of them ZEROs
Hi, I would like to generate a set of 50 numbers that are in the range of [0-2] and follow uniformly distributed; however, I ...
6년 초과 전 | 답변 수: 3 | 0
3
답변질문
how to add 2 to some of array's elements?
I have this array and I would like to add 2 to the elements starting from the third one a=[1;6;9;8;3;6;8;2;1;5;4;7;6;99;...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I change value in a table?
I have this code d={'first';'second';'third';'forth'}; L=[2;35;4;65]; T=table(d,L) after the result came,I woul...
6년 초과 전 | 답변 수: 2 | 0
2
답변질문
How can I sum row element to the end?
I have this matrix "a" and it size is changeable and I need to sum all elements then I the sum from the second elements to the e...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I do this matix?
I have a matrix a=[12 36 15 26 42 16 8 20] I want to build a code that will read the matrix's elements and then see if ...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I do this matrix ?
I have this Matrix A=[1;6;9;4;2;8] I would like to generate a matrix as follow the first row has only 1 and the rest ze...
거의 7년 전 | 답변 수: 1 | 0
1
답변질문
How can I write a condition statement in for loop?
I have this code. I want if the a=>6 the code increase k by one and go back from the beginning of the for loop. how can I do it ...
거의 7년 전 | 답변 수: 1 | 0
1
답변질문
how can I add add sec, min and hours to time?
I want to add sec, min and hours to a time. Example: now it is 07:00:00 am and i would like to add 320 sec to be 07:05:20 ...
대략 7년 전 | 답변 수: 2 | 0
2
답변질문
How I generate a random number between 300 and 450?
Hi I would like to generate a number between 300 and 450. I also would like which is the possible ways to generate numbe...
대략 7년 전 | 답변 수: 3 | 0
3
답변질문
How can I write "words" and time format in a matrix ?
I have this code m=0.5 A = poissrnd(m, 24, 1); for i=1:24; if A(i,:)== 0; DT(i,:)= 00:00:00; ...
대략 7년 전 | 답변 수: 2 | 0
2
답변질문
How can make my Loop more efficient?
I have this Loop m=0.05; for i=1:1000; r= poissrnd(m); t(1,i)= r; end t there is an orange...
대략 7년 전 | 답변 수: 1 | 0
1
답변질문
what is the difference between poissrnd, poissfit, and poisstat ..etc
I want to use Poisson Process to get a probability of incidents that may occur on a road. Lets assume that the Lambda= 0.05\hr. ...
7년 초과 전 | 답변 수: 0 | 0
0
답변질문
the probability of incident may occur on the roads ?
I just need to solve this part the problem is that: Let say we have a bus route and we need to assume the numbers of inciden...
7년 초과 전 | 답변 수: 0 | 0
0
답변질문
Poisson arrivals and exponential inter-arrival times
I want generate events that follow Poisson arrivals and the inter-arrival time between events to be exponentially distributed? ...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
how to make a row into a one element
Hi, I have this matrix a=[1 4 5 3 5; 2 5 7 0 8; 3 5 7 2 9] and I wand to make each row into one element to become like thi...
8년 초과 전 | 답변 수: 2 | 0
2
답변질문
how to export a time matrix to Excel
I have a time matrix a=[04:23:00; 05:34:22; 05:44:43] I want to export this one to Excel. I tried but it put every time digit...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
how to add a time column to a matrix
a=['07:00:00'; '07:15:00'; '07:30:00']; % add 60 seconds to 07:00 , 85sec to 07:15 and 136sec to 07:30 add = [60...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
how to calculate time in matlab
Hi, how can I write a time in matlab and add minutes to it. For example: how to write a time into the matrix a=[7:00 7:15 7:3...
8년 초과 전 | 답변 수: 2 | 0