Community Profile

photo

H-M


Last seen: 3 years ago Active since 2020

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


plot when a value of zero makes issue
my code below is supposed to plot different graph with different value of t: many thanks c=2; nu = 1*1e-6; r = linspa...

3 years ago | 1 answer | 0

1

answer

Question


num2str in legend
I want to use num2str in title of a plot: the problem is i need to make 8 in term wo_f8 dynamic as well as using num2str.(e.g I...

3 years ago | 0 answers | 0

0

answers

Question


allocating marker in for loop
I tried to allocate a marker to each plot in for loop but I could'nt. would you please help me with that? I was able to give ea...

3 years ago | 2 answers | 0

2

answers

Question


how to create num2str in a variable
Hello, How can I write the left hand side's expresion using num2str instead of f2 to avoid changing them every time when I cha...

3 years ago | 2 answers | 0

2

answers

Question


how to give the lines color based on the distanse
My plot below shows the oscillatory displacement of particles vs time in a pipe. Each line coreponds to each particle. Particles...

3 years ago | 2 answers | 0

2

answers

Question


how to define a path in saveas command
I am using saveas command in a ''for loop'' to save 20 plots in .png format. How can I add the i counter of for loop in saveas c...

4 years ago | 2 answers | 0

2

answers

Question


How to make a function that uses Runge-Kutta Method
Here is my code to find the velocity and position of particles in 3 dimensions using Rung-Kutta 4th order method as a time march...

4 years ago | 1 answer | 0

1

answer

Question


3D matrix and 3d plot in matlab
I want to use the repmat function to copy the velocity profile along a pipe for 30 times in order to make the geometry of pipe....

4 years ago | 1 answer | 0

1

answer

Answered
mesh grid and mesh ploting
I just have the poiseuille velocity equation(z equation in my code) in a circular pipe and I am supposed to plot the velocity pr...

4 years ago | 0

Question


mesh grid and mesh ploting
R = 0.003/2; y=linspace(-1,1,30); x=linspace(-1,1,30); r.^2==x.^2+y.^2; y=r./R; a0=-6536; z=a0*R^2*(1-y.^2)/0.016; [X1,Y1...

4 years ago | 1 answer | 0

1

answer