Community Profile

photo

Naime Ahmadi


31 total contributions since 2018

Naime Ahmadi's Badges

  • Thankful Level 3

View details...

Contributions in
View by

Question


choose 2 index separately inside cell
index={[1,2,5,9,10,13,17,18,21],[4,5,7,12,13,15,18,20,21],[3,4,6,11,12,14,18,19,20],[8,16,20,22]}; amount={[10,11,12,10,11,10,1...

ongeveer 7 uur ago | 1 answer | 0

1

answer

Question


sort element in cell
A={[1,2,3,4,5,8,9,39],[2,3,17,18,25,26,27],[3,4,14,15,16,17,18],[4,5,6,11,12,13,14],[5,6,7,8],... [10,11,12,13],[16,21,22,2...

2 dagen ago | 1 answer | 0

1

answer

Question


find row with certain value and put in cell
B=[ 1 2 1 5 2 3 2 4 2 5 3 4 4 5 4 7 4 9 ...

4 dagen ago | 3 answers | 0

3

answers

Question


convert cell to array
I have A={[1;95;110],[58;78;80;110;111;112],[58;59;79;110;112;113],[64;83;84;85;90;112;113],[112],[0],[0],[116]}; C = cellfun(...

8 dagen ago | 1 answer | 0

1

answer

Question


constant randperm in each iteration
all=[2;3;4;56;7;89;5;1;5;1;3;6;7;9]; changed=9; p = randperm(size(all,1)); p(1:changed)=[]; t=all/2 t(p)=0; I want to run ...

10 dagen ago | 1 answer | 0

1

answer

Question


add number to cell
I have A={[1,2,4],[2,3,4],[2,4,5],[4,5,6,9,10,11],[4,7,9],[7,8],[6,12,13]} and ref={[1],[1],[1],[3],[2],[1]} (ref means that whi...

22 dagen ago | 2 answers | 0

2

answers

Question


calculate iteration in cellfun
I have function and the output of test function is cell. I want to write a 'for loop' to calulate 3 times iteration. This is a ...

24 dagen ago | 2 answers | 0

2

answers

Question


sparse matrix problem in solve systems of linear equations
I have F= 1.0e+05 *[-6.2281; -2.6137;0.1177; -0.4726] J= 1.0e+05 * (1,1) 1.2527 (2,1) -0.2980 (3,1) ...

29 dagen ago | 1 answer | 0

1

answer

Question


put all cells in one column cellfun
I have q1={[1],[3],[4]}; q2={[1;3],[3;4],[4;5]}; q3={[1;2;3;4;5;5],[1;2;3;4;5;67],[1;6;3;4;9;67]}; I use this code but not...

30 dagen ago | 1 answer | 0

1

answer

Question


find array in cell using cellfun
I have A = {[1,2,4],[2,3,4],[1,2,5]}; mes_in=[12,18,15,14,13] B=[1 2;... 2 1;... 1 4;... 4 1;... 1 5;...

ongeveer een maand ago | 1 answer | 0

1

answer

Question


Add a zero element to the beginning of each existing cell array
I have C={[-8;-5],[1;-4;-5;-5;-5],[-3;-5]} I want to get this result CC={[0;-8;-5],[0;1;-4;-5;-5;-5],[0;-3;-5]} I use this c...

ongeveer een maand ago | 2 answers | 0

2

answers

Question


choose row cell of matrix
I have A=[1 2 0.1 0.2;... 1 5 0.2 0.2;... 2 3 0.4 0.4;... 2 4 0.9 0.8;... 2 5 0.3 0.4;... 3 4 1.1 2...

ongeveer een maand ago | 3 answers | 0

3

answers

Question


find array inside a cell
I have a A={[1,2,4],[2,3,7],[2,5],[4,5,6]} and B=[1;2;3;6;8] I want to write a code that find B inside A. the result should be...

ongeveer een maand ago | 2 answers | 0

2

answers

Question


Finding the indices of duplicate maximum number of non zero element in matrix
I have this matrix A=[-1 -0.3313 0 1 0.55 -0.2186 -1.0041 -0.0297 0 0.0041 0 0.0297; 0 0 0 0 1.09 -0.09 0 0 0 0 0 0; ...

ongeveer 2 maanden ago | 1 answer | 0

1

answer

Question


How to find separate graphs
I have this graph Ro=[0 0 0 1 0 0; 0 0 1 0 1 0; 0 0 0 0 0 ...

ongeveer 2 maanden ago | 1 answer | 0

1

answer

Question


how to plot graph without intersection?
I have this graph E=[1 2;1 5;2 3;2 4;2 5;3 4;4 5;4 7;4 9;5 6;6 11;6 12;6 13;7 8;7 9;9 10;9 14;10 11;12 13;1...

2 maanden ago | 2 answers | 0

2

answers

Question


find intersection of graph
I have this graph like this plot ([0,1,1,0,0,1,0.5,0],[0,1,0,1,0,0,1.5,0],'-') how can I find all intersections in this graph?...

2 maanden ago | 1 answer | 0

1

answer

Question


Put matrix in cell
I have this matrix T=[ 3 6 1 12 7 10 6 0 0 22 0 15; 2 4 4 3 2 ...

2 maanden ago | 2 answers | 0

2

answers

Question


are there any codes that check planarity of graph
I have this graph, E=[1 2;1 5;2 3;2 4;2 5;3 4;4 5;4 7;4 9;5 6;6 11;6 12;6 13; 7 8;7 9;9 10;9 14;10 11;12 13...

3 maanden ago | 1 answer | 0

1

answer

Question


Remove same element from vector
I have this vector E=[1,2;1,3;1,6;2,3;2,4;3,7;4,5;5,6;5,7;6,7;1,2;2,4;6,8]; I want to omit same element and also (6,8). As 8 ...

3 maanden ago | 3 answers | 0

3

answers

Question


omit rows from matrix
A=[1,2;1,3;1,4;1,5;2,4;2,3;2,5] B=[2,4] I want to omit B from matrix A answer A=[1,2;1,3;1,4;1,5;2,3;2,5]

3 maanden ago | 1 answer | 0

1

answer

Question


change the order of array
I have M=[1,2 ;1,5; 2,4;2,5;4,5; 4,9;5,6;6,11;9,10;10,11] I want to change the order of numbers I want this answer N=[1,2;1,...

4 maanden ago | 1 answer | 0

1

answer

Question


find cycle in array
I have a M M=[1,2 ;1,5; 2,4;2,5;4,5; 4,9;5,6;6,11;9,10;10,11] I want to find a loop in this array. I want this answer A={[1,2,5]...

4 maanden ago | 2 answers | 0

2

answers

Question


find element in array
I have E=[1 2;1 5;2 3;2 4;2 5;3 4;4 5;4 7;4 9;5 6;6 11;6 12;6 13; 7 8;7 9;9 10;9 14;10 11;12 13;13 14] and C={[1,2,4,...

4 maanden ago | 1 answer | 0

1

answer

Question


find a same element inside a cell
I have a cell= {[1,2,5],[2,3,4],[1,2,4,5],[4,7,9],[1,2,4,5,6,9,10,11],[6,12,13],[1,2,4,5,6,9,13,14]} I want to find arra...

4 maanden ago | 4 answers | 0

4

answers

Question


find all possible cycle in graph
I have a E E=[1 2;1 5;2 3;2 4;2 5;3 4;4 5;4 7;4 9;5 6;6 11;6 12;6 13; 7 8;7 9;9 10;9 14;10 11;12 13;13 14] I want to find all...

4 maanden ago | 1 answer | 0

1

answer

Question


add element to cell
I have E and M E=[1 2;1 5;2 3;2 4;2 5;3 4;4 5;4 7;4 9;5 6;6 11;6 12;6 13; 7 8;7 9;9 10;9 14;10 11;12 13;13 14] M = {[...

4 maanden ago | 1 answer | 0

1

answer

Question


Remove element from array but want to keep in indices
A=[1 2;1 5;2 3;2 4;2 5;3 4;4 5;4 7;4 9;5 6;6 11;6 12;6 13; 7 8;7 9;9 10;9 14;10 11;12 13;13 14] I omit the second row: A(2,:)=...

5 maanden ago | 3 answers | 0

3

answers

Question


How to add zeros column and row at the beginning of matrix
I have A and B A=[1,3,5;4,6,8;9,7,4] B=[1,2,4,6;7,1,2,4;6,7,8,9;4,5,6,7] if size(B)> size(A) Add zeros column and ro...

5 maanden ago | 1 answer | 0

1

answer

Question


How to omit repeated element in matrix
I have a E and x1 matrix E=[1 2;1 5;2 3;2 4;2 5;3 4;4 5;4 7;4 9;5 6;6 11;6 12;6 13; 7 8;7 9;9 10;9 14;10 11;12 13;13 14]...

5 maanden ago | 3 answers | 0

3

answers

Load more