plotting after a for loop doesn't work
Show older comments
close
clear all
clc;
CM=2;
CD=1;
D=1;
k=2*pi/153.9;
h=60;
H=(0:25);
for zeta_a=H/2
y = real(asin(CM/CD*((pi*D^2)/zeta_a)*sinh(k*h)^2/(sinh(2*k*h)+2*k*h)))
end
plot(H,y, '-b');
Accepted Answer
More Answers (1)
Olga Rakvag
on 20 Feb 2022
Edited: Olga Rakvag
on 20 Feb 2022
Categories
Find more on Partial Differential Equation Toolbox 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!

