Community Profile

photo

singh


Aktiv seit 2015

Statistiken

  • Thankful Level 3
  • Knowledgeable Level 1
  • First Answer

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


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

mehr als 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


how to solve this problem when i install rasberry pi package in matlab 2014
<</matlabcentral/answers/uploaded_files/33072/Untitled.png>> any other alternative for installation the package in matlab 201...

fast 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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)],...

fast 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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.

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to connect nearest neighbor node between source node to destination node
<</matlabcentral/answers/uploaded_files/31331/2d%20image.jpg>> N=20; area=100; XX=area/2; YY=area/2; bs=[XX,YY]; X...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

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

fast 9 Jahre vor | 0

Frage


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

fast 9 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
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

fast 9 Jahre vor | 0

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

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

fast 9 Jahre vor | 1

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


how to cell array all data into a matrices
A=CHM(cellfun(@(x)~isempty(x),CHM)) A = [1x4 double] [19] [1x4 double] [1x4 double] A{:} ans = ...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden