Community Profile

Kashfia Mahin

14 2018 年以降の合計貢献数

Kashfia Mahin's バッジ

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

10ヶ月 前 | 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); ...

10ヶ月 前 | 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 ...

12ヶ月 前 | 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; ...

12ヶ月 前 | 1 件の回答 | 0

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

12ヶ月 前 | 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...

12ヶ月 前 | 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...

12ヶ月 前

Return area of square
Side of square=input=a Area=output=b

12ヶ月 前

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.

12ヶ月 前

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

12ヶ月 前

Given a and b, return the sum a+b in c.

12ヶ月 前

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

1年以上 前 | 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...

2年弱 前 | 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...

2年弱 前 | 1 件の回答 | 0