# singh

Active since 2015

Followers: 0   Following: 0

#### Feeds

View by

Question

how to plot node in particular range but x and y lim is 1000x1000
bs=4; area=1000; X_coord=rand(1,bs)*area Y_coord=rand(1,bs)*area if ((X_coord<=100)&(X_coord>=880)) X_co...

nästan 9 år ago | 0 answers | 0

### 0

Question

how to solve this problem when i install rasberry pi package in matlab 2014

nästan 9 år ago | 0 answers | 0

### 0

Question

how to plot the data on the iamge
n=5 x=rand(1,n)*n; y=rand(1,n)*n; node_no=(1:n)'; plot(x,y,'color','k') text(x,y,num2str(node_no)) how to plot the node...

nästan 9 år ago | 1 answer | 0

### 1

Question

how to get the time long after decimal point
format longg t=clock; t1 = t([5,6]); this code output is min(21) sec(19.955) now i wish to get after d...

ungefär 9 år ago | 2 answers | 0

### 2

Question

how to stop the working of format longg after some line execute in matlab
format longg t=clock; T1=(t([5,6])) CT=text(X6,Y6,num2str(N3),'FontWeight','bold','fontsize',12,'color','...

ungefär 9 år ago | 1 answer | 0

### 1

Question

how to reuse the line after delete or hide
suppose i plot line BK=line([X,DCH_coord(1)],[Y,DCH_coord(2)],'marker','*','MarkerSize',10); BK2=line([XX,DCH_coord(1)],...

ungefär 9 år ago | 2 answers | 0

### 2

Question

how to hide line in gui
i wish to hide line on 2d graph plot([nodes(i,2) nodes(j,2)],[nodes(i,3) nodes(j,3)],'k.-') <</matlabcentral/answers/u...

ungefär 9 år ago | 1 answer | 0

### 1

Question

how to share node table with neighbours node
hello friends i have multiple nodes on 2d graph and my question is how the nodes are share the table with neighbor node like AOD...

ungefär 9 år ago | 1 answer | 0

### 1

Question

how full square matrix first column as second column in matlab
hello guys i have a full square matrix wish to use this matrix first column as a second column and second column as third col...

ungefär 9 år ago | 1 answer | 0

### 1

Question

how to full square matrix first column as second column and so on
first column of full square matrix as second column and second column as third column DG2 = 7.2263 36.234 ...

ungefär 9 år ago | 0 answers | 0

### 0

Question

how to use the figure instead of biograph in graphshortestpath
in graphshortestpath biograph is not work proprly please tell me how to use the figure instead of biograph when i used gra...

ungefär 9 år ago | 1 answer | 0

### 1

Question

how to cell array data in single matrix
suppose i have an cell array code and output of this cell array is below code= b=cat(2,indx,nonzeros(a)); c{i}=b; ou...

ungefär 9 år ago | 1 answer | 0

### 1

Question

how to store eculidean distance in the cell array after every iteration
i know the coordinates of the node and i calculate the distance between two nodes.but i have some problem to store the result in...

ungefär 9 år ago | 1 answer | 0

### 1

Question

find the nearest neighbour from source node to destination node
hello guys, i wish to find the only one less cost path to reach the destination node through neighbor nodes.

ungefär 9 år ago | 1 answer | 0

### 1

Question

how to connect nearest neighbor node between source node to destination node

ungefär 9 år ago | 1 answer | 0

### 1

combination of first row of G1 and first row of G2 until row13 of G1 and row13 of G2.
j=reshape([[G1]';[G2]'],1,[])

ungefär 9 år ago | 0

Question

how to send a message (five characters) to another node if i know the coordinates of that nodes
suppose i know the coordinates of two nodes on the 2d graph now i wish to send a message to hello source node to destination nod...

ungefär 9 år ago | 0 answers | 0

### 0

how i can get the first and second letters in cell data
for k=1:length(letters) f(k)=letters{k}(1) g(k)=letters{k}(2) end

ungefär 9 år ago | 0

Question

how to delete the plotted particular coordinate from 2d graph
N=20; area=100; X=rand(1,N)*area; Y=rand(1,N)*area; XX=area/2; YY=area/2; plot(XX,YY,':o','LineWidth',3,'MarkerEdgeColor'...

ungefär 9 år ago | 1 answer | 0

### 1

Question

how to find the index value
suppose i have on matrix A A= 2 3 5 7 8 10 i have another matrix B B= 10 21 ...

ungefär 9 år ago | 1 answer | 0

### 1

Combine two cell array of different dimension
A = {1,2}, B={3;4;5} vertcat([A]',B) ans = [1] [2] [3] [4] [5]

ungefär 9 år ago | 1

Question

how to get coordinate a point in 2d grid if i know the avg speed of that point
suppose i have plotted a point on 2d graph and i know the avg speed of this point and after one minute I wish to know the coordi...

ungefär 9 år ago | 1 answer | 0

### 1

Question

how to add value after every 5 second
hello friends i wish to add a number after every five second for the one minute suppose i wish to get random number from -2 t...

ungefär 9 år ago | 2 answers | 0

### 2

Question

add the particular column in the for loop
hello friends, i wish to sum the column of the array which are present in the for loop suppose iteration 1 is running and i...

ungefär 9 år ago | 2 answers | 0

### 2

Question

how to get the array values using as index of another array values
N=10 for i=1:N format shortg tmp = clock; out(i,:) = tmp([5,6]) end in_zone=nonzeros(zone); out = ...

ungefär 9 år ago | 1 answer | 0

### 1

Question

how to select particular cell in the cell array and particular column in that cell array
X2=horzcat([XY2{3}]); d=X2(:,4); any one can solve in single line

ungefär 9 år ago | 1 answer | 0

### 1

Question

how to gave the column name in the cell array
hello friends, please give me some solution for write the column name in the cell array. if it is possible otherwise this wh...

ungefär 9 år ago | 1 answer | 0

### 1

Question

how to add array after the iteration
i have two array which are used in the for loop and after iteration of for loop one array will be empty and another array have s...

ungefär 9 år ago | 0 answers | 0

### 0

Question

how to take in array last two unit of time (minute,seconds)
for i=1:4 for i=1:10 format shortg t=clock; t1=t([5,6]); t2(i)=t1 end end this upper code doe...

ungefär 9 år ago | 0 answers | 0