Kashfia Mahin
Followers: 0 Following: 0
Feeds
提问
making video with Network
I made a video where a particular node color is changing in one second. I tried to capture the change of color in a video. It ...
5 years 前 | 1 个回答 | 0
1
个回答提问
Changing the color of one particular node into different colors
function pt = plot_topology_1(filename) newfilename = [filename, '.network']; fileID = fopen(newfilename); ...
5 years 前 | 1 个回答 | 0
1
个回答提问
How to use animated line
I want to use the animation in the piping network. this is a sample of a code: s = [1 2 3]; t = [2 3 4]; G = graph(s,t); h ...
5 years 前 | 1 个回答 | 0
1
个回答提问
how to choose different colors for nodes
t = [1 1 1 1]; h = [2 3 4 5]; g = graph(t,h); p = plot(g); g.Edges.value = [10; 20; 20; 100]; g.Nodes.value = [0.3; 0.564; ...
5 years 前 | 1 个回答 | 1
1
个回答提问
Index in position 2 exceeds array bounds (must not exceed 3).
%% l2/l1=1 N=1; %revolution per minute theta=28 %dynamic angle of glass beads w=2*pi*N/60; % angular velocity D=.5; %drum r...
5 years 前 | 1 个回答 | 0
1
个回答提问
for loop, conditional operator
for k=1:length(kinetic); if (delta(j)<=kinetic(k)) && (j==k) filling_degree_regionI(j,k)=1/(2*pi).*(pi*(abra)/180-((rh/R).*c...
5 years 前 | 1 个回答 | 0
1
个回答已解决
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
5 years 前
已解决
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
5 years 前
已解决
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
5 years 前
提问
"For" loop running partially
<</matlabcentral/answers/uploaded_files/139544/Capture.PNG>> this is the question of which part 2 is to be solved. My code is...
6 years 前 | 0 个回答 | 1
0
个回答提问
How to select one number from a loop. I want to calculate the time t when m5=99.9. when I run the program it doesn't show anything. I don't know how to print t from the time loop when m5=99.99
dt = 0.01; % Step size tend = 50; % End time t = 0:dt:tend; % Time vector %Loop for m5 calculation...
6 years 前 | 1 个回答 | 0
1
个回答提问
prime number.there isn't any error. my ans isn't showed up
% finding prime number counter=0; for j= 1:10; for i=1:1:j if mod (j,i)==0 counter=counter...
6 years 前 | 1 个回答 | 0