my code is not working...

function HW2CH3(x)
y = linspace(0,x);
n = lenght(y);
for i = 1:n
uy(i) = -5/6.*(sing(y(i),0,4)-sing(y(i),5,4))+uy(i)+15/6.*...
sing(y(i),8,3)+75*sing(y(i),7,2)+57/6.*y(i).^3-238.25.*y(i);
end
plot(y,uy,'--')
end

1 件のコメント

KSSV
KSSV 2020 年 6 月 10 日
Replace lenght with length.
Not working...why it is not working? How do you know? any error? What is sing?

回答 (1 件)

madhan ravi
madhan ravi 2020 年 6 月 10 日

0 投票

length

この質問は閉じられています。

タグ

質問済み:

2020 年 6 月 10 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by