Community Profile

# Takim Mustakim

Last seen: 4 mesi fa Attivo dal 2021

#### Content Feed

Visto da

Domanda

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]

4 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

4 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

5 mesi fa | 1 risposta | 0

### 1

risposta

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

5 mesi fa | 0

Domanda

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

5 mesi fa | 3 risposte | 0

### 3

risposte

Domanda

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

10 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

11 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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%

11 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

11 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

12 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

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

12 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

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

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre un anno fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre un anno fa | 1 risposta | 0

risposta