How to plot this velocity profile?
Show older comments
Respected sir,
sir I have derived to velocity profile that i have attached below .As I am new so please help me Sir please provide some hint to plot U2 velocity profile. here tau ,tua0, delta all are constant value except y. I am waiting for reply
1 Comment
madhan ravi
on 30 Oct 2018
upload the code you have tried
Answers (5)
madhan ravi
on 30 Oct 2018
Edited: madhan ravi
on 1 Nov 2018
clear all. %edited
close all
clc
mu=0.5;
t_o=100;
t_e=200;
n=15;
lambda=0.25;
delta = 0.25;
dh=linspace(0.01,0.05,n);
y=5;
U = 1./(mu).*(t_o.*(y-delta)+4.*lambda.*sqrt(t_o.*t_e).*(exp(-y./(2.*lambda)))+t_e.*lambda.*(1-exp(-y./lambda)))
plot(dh,U,'-m') % you have to mention which variables you want to plot
4 Comments
madhan ravi
on 1 Nov 2018
Type U2 formula and paste it here I’ll help you further
Debasis Roy
on 1 Nov 2018
madhan ravi
on 1 Nov 2018
I suggest you to try typing something in matlab , i will correct it if it’s wrong
Debasis Roy
on 1 Nov 2018
Edited: Walter Roberson
on 17 Feb 2025
Debasis Roy
on 1 Nov 2018
Edited: Walter Roberson
on 17 Feb 2025
1 Comment
Debasis Roy
on 1 Nov 2018
Debasis Roy
on 10 Nov 2018
Edited: Walter Roberson
on 17 Feb 2025
Aliya Altaf
on 20 Dec 2020
0 votes
How I make this .

Konde
on 17 Feb 2025
R=0.5;
L=10;
v=0.0028;
Pa=15;
Pb=30;
r=linspace(-R,R,20);
V=((Pb-Pa)*(R^2-r^.2)/(4vL));
figure;
plot(V,r,’g’);
Xlabel(‘velocity’);
Ylabel(‘radius’);
A=table(V’,r’,’variable names’,{‘velocity’,’radius’},824-velocity profile);
Disp(A);
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!