Community Profile

# Amirhossein Moosavi

##### Last seen: 12 días ago
16 total contributions since 2019

View details...

Contributions in
View by

Question

Creating a matrix using the colon function
Hi everyone, Let us assum that I have two arrays as follows: A = [1 2 3 4 5] B = [3 4 5 6 7] I want to use colon funcion to ...

21 días ago | 3 answers | 1

### 3

Question

Allocation of values to a matrix under a specific condition
Hi everyone, Let us assum Matrix A as follows: A = [0 0 0 1 1 0 0 0 0 2 2 0 0 0 0 3 0 0 0 0 0 0 0 0] I have to ...

21 días ago | 0 answers | 0

### 0

Question

Sort rows of a matrix based on a specific array
Hi everyone, Let us assum Matrix A and array B as follows: A = [1 0 1 2 0 0 4 0 0 3 1 1 6 0 0 5 ...

27 días ago | 2 answers | 0

### 2

Question

The output of 'mle' function for 'gp' distribution
Hi everyone, When I use the 'mle' function for 'gp' ditribution (as follows), I obtain two outputs. phat = mle(Data, 'distribu...

alrededor de 1 mes ago | 0 answers | 0

### 0

Question

Shuffling numbers while keeping identical numbers next to each other
Hi everyone, Let us assume the following array: A = [1 1 2 3 3 4 6 6 6 6] I would like to shuffle this array while while keep...

alrededor de 1 mes ago | 1 answer | 0

### 1

Identify the minimum number of rows in a matrix meeting a condition
This is a code that addresses my question, but I am not sure whether it is the fastest way or not. EG = cell(1, 100); % A place...

alrededor de 1 mes ago | 0

Question

Identify the minimum number of rows in a matrix meeting a condition
Hi everyone, Please assume that I have a matrix as follows: A = [0 1 0 0 1 1 0 0 0 0 1 0 0 0 0 1 1 0 1...

alrededor de 1 mes ago | 3 answers | 1

### 3

Question

Convert a vector into a matrix (row wise)
Let us assume vector A as follows: A = [1 2 3 4; 5 6 7 8; 9 10 11 12]; I create two vectors (row wise) from this matrix as fol...

alrededor de 1 mes ago | 1 answer | 0

### 1

Question

non linear correlation for three vectors
I have a matrix that includes three columns of values. Thus, how can I measure the nonlinear correlation of these vectors?

alrededor de 1 mes ago | 0 answers | 0

### 0

Identify unique structures from a population - updated
Does anyone have answer to this question?

alrededor de 1 año ago | 0

Question

Identify unique structures from a population - updated
Dear experts, I have a population of structures. Each of these structures has three similar sub-structures that store some cell...

alrededor de 1 año ago | 1 answer | 0

### 1

Question

Which way of programming is more efficient and faster?
Dear friends, I would like to know whether there is a difference between following cases. Your responses are appreciated. Case...

alrededor de 1 año ago | 2 answers | 0

### 2

Randomly select an element from a vector satisfying a condition
I already have an answer to this question as follow (but I am seeking for faster solutions): Ind = find(X > 2); Ind = Ind(rands...

alrededor de 1 año ago | 0

| accepted

Question

Randomly select an element from a vector satisfying a condition
Dear experts, I would like to randomly select an element from a vector satisfying a condition. In fact, I want to know what is ...

alrededor de 1 año ago | 3 answers | 0

### 3

Question

"Assignment between unlike types is not allowed" in STRUCTURES
Hello, Please suppose the following matrices and structure: X1 = zeros(1, 4); X2 = zeros(2, 4); X3 = zeros(3, 4); AA.SM =...

alrededor de 1 año ago | 2 answers | 0