photo

zeezo


Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


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

mer än 6 år ago | 2 answers | 0

2

answers

Question


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

mer än 6 år ago | 3 answers | 0

3

answers

Question


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

mer än 6 år ago | 1 answer | 0

1

answer

Question


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

mer än 6 år ago | 2 answers | 0

2

answers

Question


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

mer än 6 år ago | 1 answer | 0

1

answer

Question


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

mer än 6 år ago | 1 answer | 0

1

answer

Question


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

nästan 7 år ago | 1 answer | 0

1

answer

Question


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

nästan 7 år ago | 1 answer | 0

1

answer

Question


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

ungefär 7 år ago | 2 answers | 0

2

answers

Question


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

ungefär 7 år ago | 3 answers | 0

3

answers

Question


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

ungefär 7 år ago | 2 answers | 0

2

answers

Question


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

ungefär 7 år ago | 1 answer | 0

1

answer

Question


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

mer än 7 år ago | 0 answers | 0

0

answers

Question


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

mer än 7 år ago | 0 answers | 0

0

answers

Question


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

mer än 7 år ago | 1 answer | 0

1

answer

Question


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

mer än 8 år ago | 2 answers | 0

2

answers

Question


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

mer än 8 år ago | 1 answer | 0

1

answer

Question


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

mer än 8 år ago | 1 answer | 0

1

answer

Question


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

mer än 8 år ago | 2 answers | 0

2

answers