フィルターのクリア

Fiber Recruitment Model Solve & Plot

1 回表示 (過去 30 日間)
Allison Bushman
Allison Bushman 2019 年 9 月 16 日
Every 0.1mm, a new fiber with a stiffness 20 N/mm is recruited starting from x=0. The net force is given by the following equation: . If p=10, solve for F and plot F vs. x.
p=10; %number of fibers
k(1,1:p)=20; %stiffness (N/mm)
dx=0.1; %step size
x=zeros(p*dx); %allocate space for x-values
x0=0;
for i = 1:p*dx
F=k(i)*(x(i)-(x0+i*dx));
x=x(i)+i*dx;
end
plot(x,F)
xlabel('x')
ylabel('F')

回答 (0 件)

カテゴリ

Help Center および File ExchangePolymers についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by