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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 2 | 0