提问


how to cell array all data into a matrices
suppose i have a cell array a={{1,2,3};12;{21,32,43}}; how to get all data in single matrix b=[1,2,3,12,21,32,43]'

9 years 前 | 1 个回答 | 0

1

个回答

提问


how to store the matrix in a single table after every iteration
suppose i have a matrix which size is always same but value does not same it will be change after every iteration for i=1:2 m...

9 years 前 | 2 个回答 | 0

2

个回答

提问


how to get value except one row which in_zone value is 2
in_zone IDX X0 Y0 1.0000 6.0000 63.0726 15.1375 2.0000 7.0000 36.0104 61.2907 ...

9 years 前 | 2 个回答 | 0

2

个回答

提问


how to access cell array data with single for loop
A={1;{2,3};{4,5}} %cell array B={11,12);{13,14};15} %cell array C = cell( size(A)); D = cell( size(B)); for ii=1...

9 years 前 | 1 个回答 | 0

1

个回答

提问


how to access cell array data with single for loop
two cell array like A={1,2,3,4,5} %cell array B={11,12,13,14,15} %cell array for i=1:length(A) C %varia...

9 years 前 | 2 个回答 | 0

2

个回答

提问


how to draw line from first element of cell array to same cell array but fliplr first element and soon
how to take the first element from two cell array in single for loop

9 years 前 | 2 个回答 | 0

2

个回答

提问


how to delete any variable from outside the for loop
N=20; area=100; X=rand(1,N)*area; Y=rand(1,N)*area; htext=[]; for i1=1:2 for i=1:N htext(i)=text(X(...

9 years 前 | 1 个回答 | 0

1

个回答

提问


clear the ploted nodes only
clear all N=20; area=100; hold on; for i=1:N hplot(i)=plot(X(i),Y(i)); htext(i)=text(X(i),Y...

9 years 前 | 1 个回答 | 0

1

个回答

提问


how to use variable outside the for loop
suppose i use for loop and this is code N=20; area=100; X=rand(1,N)*area; Y=rand(1,N)*area; htext=[]; for i1=1:2 f...

9 years 前 | 1 个回答 | 0

1

个回答

提问


how to remove the some ploted node and assisgn the new location in the 2d graph
suppose i create a network. and some percent of nodes will be move at near place on 2d graph. <</matlabcentral/answers/uplo...

9 years 前 | 1 个回答 | 0

1

个回答

已回答
taking 2 columns from two different matrices and making a new 2 column matrix
c=b(:,1); d=a(:,1); C=cat(2,[c,d]);

9 years 前 | 0

| 已接受

提问


how can jump and go to line
suppose i create array and the i enter the no.this no will be checked in the first column of the array and then send other data ...

9 years 前 | 1 个回答 | 0

1

个回答

提问


change the ploted node location every 1 second
suppose i plot some nodes on the graph and i wish to change the node location every second . node=20; area=100; X=rand(1...

9 years 前 | 1 个回答 | 0

1

个回答

提问


how to perform jump condtion or alternative solution for calling
Suppose I take input at command window through input command If it is in array then it show that value which was i enter ...

9 years 前 | 1 个回答 | 0

1

个回答

提问


How to find the another values in array
Suppose I have a array A= 1 73.21 32.2 6 11.1 3.32 9 30.4 19.64 17 12.6 77.3 20 30.7 6.2 23 21 .9 42.5 Now...

9 years 前 | 2 个回答 | 0

2

个回答

提问


find the cordinate in the array using index
suppose i have three array A = X Y 10.22 21.32 21.54 28.31 94.43 64...

9 years 前 | 1 个回答 | 0

1

个回答

提问


how to get the value from particular index will be given in array
how to get the multiple value from in the array through index value I have array which contain multiple values A1= 1...

9 years 前 | 1 个回答 | 0

1

个回答

提问


how to concatinate two array values in one array
Suppose i have two arrays A1= 1 2 4 7 9 12 21 A2 = 10.21 32.31 4...

9 years 前 | 1 个回答 | 0

1

个回答

提问


search a particular data in a array and return the index of the array that is found
my problem is same if have array which only two columns X Y 10.2 12.3 21.443 81.31 ...

9 years 前 | 1 个回答 | 0

1

个回答

提问


how to know the node number if i know the coordinates values
i have 100 nodes and plot on the graph randomly.each node are identify uniquely by node number. I know the coordinate value o...

9 years 前 | 1 个回答 | 0

1

个回答

提问


how to get value .if i know the coordinates value
suppose i create a network and all nodes are randomly plot on the graph.I know the coordinates value but how to get the particul...

9 years 前 | 1 个回答 | 0

1

个回答

提问


how to select a randomly from the matrices?
I have 7 matrices every time, but I do not know how many rows there are in the matrices because rows are randomly inserted into ...

9 years 前 | 1 个回答 | 0

1

个回答