Community Profile # Kashfia Mahin

14 total contributions since 2018

View details...

Contributions in
View by

Question

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

9 months ago | 1 answer | 0

### 1

Question

Changing the color of one particular node into different colors
function pt = plot_topology_1(filename) newfilename = [filename, '.network']; fileID = fopen(newfilename); ...

9 months ago | 1 answer | 0

### 1

Question

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

11 months ago | 1 answer | 0

### 1

Question

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

11 months ago | 1 answer | 0

### 1

Question

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

11 months ago | 1 answer | 0

### 1

Question

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

11 months ago | 1 answer | 0

### 1

Solved

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

11 months ago

Solved

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

11 months ago

Solved

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.

11 months ago

Solved

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

11 months ago

Solved

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

11 months ago

Question

"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 year ago | 0 answers | 1

### 0

Question

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

1 year ago | 1 answer | 0