Community Profile

photo

Takim Mustakim


Last seen: 16 days ago Active since 2021

Statistics

  • Thankful Level 3

View badges

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

1 month ago | 1 answer | 0

1

answer

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

2 months ago | 1 answer | 0

1

answer

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%

3 months ago | 1 answer | 0

1

answer

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

3 months ago | 1 answer | 0

1

answer

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

3 months ago | 1 answer | 0

1

answer

Question


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

3 months ago | 2 answers | 0

2

answers

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

10 months ago | 1 answer | 0

1

answer

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

10 months ago | 1 answer | 0

1

answer

Question


Selection data with percentage
let's say i have 500 units and i want to move those units to A and B. how to separate those units by percentage 60 to A and 40 t...

10 months ago | 1 answer | 0

1

answer