![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/18070455_1586152940714_DEF.jpg)
Farooq Hussain
Followers: 0 Following: 0
Feeds
提问
Why i don not get the graph when i add A1(x) in the function f1=@(x,y) A1(x)+(1.33*pi*eta*y^3)/(1+1.33*pi*eta*y^3);
%clc %clear all eta=0.25; L=2.5; a=0.1; h=0.1; b=6; x=a:h:b; %%%%%%%%%%%%%%%%%% A =@(x) (0<x).*1+(0<=x & x<=L).*(1+0.5*...
4 years 前 | 1 个回答 | 0
1
个回答提问
How can i replace the value of A(x) in the function defined in "f1"...
L=10; a=0; h=0.5; n=20; x=a:h:n; % f1=@(x,u) u * A(x); %%% Initial Conditions %%% u(1)=1; for i=1:length(x)-1; m1...
4 years 前 | 2 个回答 | 0
2
个回答提问
How can i plot this graph?
for x=0:0.5:5; if 0<x<2 y=((1+0.5*(1-cos(2*pi*x/5))).^-0.5); else x>2; y=1; end end plot(...
4 years 前 | 2 个回答 | 0