Community Profile # Takim Mustakim

Last seen: 2 months ago Active since 2021

#### Statistics

• #### Content Feed

View by

Question

average for all looping
format short datasave=[]; for i=1:10 a=randi(10); datasave=[i a]; end display(a) how to looking for average a for...

3 months ago | 1 answer | 0

### 1

Question

delete or remove some value from vector
wak(1)=poissrnd(60); wk(1)=wak(1) n=1; while wk(n)<1000 n=n+1; wak(n) = poissrnd(60); wk(n) = wk(n-1)+wak(n)...

4 months ago | 1 answer | 0

### 1

Question

generating random numbers only 2 numbers with percentage
how to generating random numbers 1x100 but only 2 numbers (suppose 0 and 1) with percentage 0=30% and 1=70%

4 months ago | 1 answer | 0

### 1

Question

insert new rows and movin data into new rows
clear all; clc; n = 1000; lambda = 480; WAK = poissrnd(lambda,1,n); WK(1) = WAK(1); for i=1:n-1 WK(i+1) = WK(i...

4 months ago | 1 answer | 0

### 1

Question

Index in position 1 is invalid. Array indices must be positive integers or logical values.
I am getting the following error message: Index in position 1 is invalid. Array indices must be positive integers or logical val...

4 months ago | 1 answer | 0

### 1

Question

generating random numbers from poisson distribution
how i can generate random numbers Poisson distribution pdf : P(x) = e^(-λt).(λt)^x / x!

5 months ago | 2 answers | 0

### 2

Question

generating random numbers only 2 numbers
i want to generating random numbers on matrix 1x30 how i get generating 2 random numbers (only 1 and 4 , not between) ???

11 months ago | 1 answer | 0

### 1

Question

move data in randomly
suppose I have a 1 x 10 matrix : [ 1 3 2 5 4 7 6 9 8 0] and want to move it to A and B how to randomly move the dataset by gener...

12 months ago | 1 answer | 0