photo

Amirhossein Moosavi


Last seen: 3 years ago Active since 2019

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

3 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 3 answers | 1

3

answers

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

4 years ago | 0 answers | 0

0

answers

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

4 years ago | 2 answers | 0

2

answers

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

4 years ago | 0 answers | 0

0

answers

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

4 years ago | 1 answer | 0

1

answer

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

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

4 years ago | 3 answers | 1

3

answers

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

4 years ago | 1 answer | 0

1

answer

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?

4 years ago | 0 answers | 0

0

answers

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

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

5 years ago | 1 answer | 0

1

answer

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

5 years ago | 2 answers | 0

2

answers

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

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

5 years ago | 3 answers | 1

3

answers

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

5 years ago | 2 answers | 0

2

answers

Question


Copy the values of multiple fields in a structure to another structure at once
Hello, I want to copy the values of multiple fields in a structure to another structure at once (without loop). For example, su...

5 years ago | 3 answers | 0

3

answers