function dy=odefun(x,y) w=100; E=29000000; I=285; dy=[y(2); y(3); y(4); -w/(E*I)]
function res=bcfun(y0,yL) res=[y0(1); y0(3); yL(1); yL(3)]
solinit=bvpinit(linspace(0,100,100),[1 0]); sol=bvp4c(@odefun, @bcfun, solinit);
No products are associated with this question.
1 Comment
Direct link to this comment:
http://www.mathworks.com/matlabcentral/answers/80838#comment_157857
What are y0 and y3 ? They do not seem to occur in the first part.