photo

Takim Mustakim


Last seen: mer än ett år ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


sorting data with specific
A=[5 4 3 2 1; 6 7 8 9 0] . How to sort A being A=[1 2 3 4 5; 0 9 8 7 6] ???

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

1

answer

Question


delete some matrix values
A = [1 2 3 4 5 6 7 8 9]; how to make A < 7: A = [1 2 3 4 5 6]

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

1

answer

Question


remove NaN from 1xn Matrix
A = [0 3 2 4 1 NaN 3 2 NaN 2 4 2 1 3 NaN 2 4 2]; How to make matrix B from A but without "NaN" like: B = [0 3 2 4 1 3 2 2 4 2...

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

1

answer

Question


matrix 1xn MatLab
a = [0 0 0 0 0 0 0 0 0 0]; b = [1 2 3]; how to make: c = [1 2 3 0 0 0 0 0 0 0]; from a and b

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

1

answer

Answered
random number generating RANDI with percentage
my MatLab unrecognized function or variable "GetRandom"

ungefär 2 år ago | 0

Question


random number generating RANDI with percentage
How to generating random number with percentage: value = 0 - 14 with 86% value = 15 - 28 with 14% with 1000 array

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

3

answers

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

mer än 2 år 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)...

mer än 2 år 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%

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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!

mer än 2 år 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) ???

ungefär 3 år 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...

ungefär 3 år 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...

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

1

answer