Community Profile

photo

Amirhossein Moosavi


Last seen: 12 Tage ago
20 total contributions since 2019

Contact

Amirhossein Moosavi's Badges

  • Thankful Level 2

View details...

Contributions in
View by

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

etwa ein Monat 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...

etwa 2 Monate 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 Monate 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...

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

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

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

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

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

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

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

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

12 Monate 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?

12 Monate ago | 0 answers | 0

0

answers

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

fast 2 Jahre 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...

fast 2 Jahre 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...

fast 2 Jahre 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...

fast 2 Jahre 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 ...

fast 2 Jahre 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 =...

etwa 2 Jahre 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...

etwa 2 Jahre ago | 3 answers | 0

3

answers