Community Profile # Amirhossein Moosavi

Last seen: 4 maanden ago Active since 2019

#### Statistics

• #### Content Feed

View by

Question

Leged for multiple subplots
I have a figure that includes three subplot. I'd like to add an overall legent to the figure at the location of the fourth subpl...

5 maanden ago | 1 answer | 0

### 1

Question

Change the font color using writecell
Hello, I have a cell like below: A = {'[0.18 0.39 0.62]' } {'[5.21 5.08 5.2]' } {'[2.02 2.03 2]' } {'[0.85 0.03 0....

ongeveer een jaar ago | 1 answer | 0

### 1

Question

Save error on linux
Hello, I have program that I run it through a script. At the same time, the script uses many functions to compute required c...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

Shuffle identical values of an array together
Hi, Let us suppose arrays A and B: A = [1 9 6 2 10 8 3 8 11 7 5 5 6] B = [1 2 2 1 1 1 1 1 2 2 2 2 2] I want to create an a...

meer dan een jaar ago | 1 answer | 0

### 1

Question

Detect consecutive positive numbers in an array
Hello, Let us assum an Array A as follows: A = [4 9 6 0 0 3 4 0 3] I want to detect the location (begining and ending) of co...

meer dan een jaar ago | 1 answer | 0

### 1

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

bijna 2 jaar 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 ...

bijna 2 jaar 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 ...

bijna 2 jaar 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...

bijna 2 jaar 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...

bijna 2 jaar 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...

bijna 2 jaar 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...

bijna 2 jaar 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...

bijna 2 jaar 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?

bijna 2 jaar ago | 0 answers | 0

### 0

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

bijna 3 jaar 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...

bijna 3 jaar 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...

bijna 3 jaar 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...

bijna 3 jaar ago | 1

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

bijna 3 jaar ago | 3 answers | 1

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

bijna 3 jaar ago | 2 answers | 0