photo

Penglu Yang


Active since 2016

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


How can I add values to an empty vector from a for loop?
y=0; for l=1:5 y = y+(4.*l*(1/20).^2.*sin(pi*(1/20))*sin(pi*(1/20)))./(pi^2.*(l.^2-(1/20)^2).*(l.^2-(1/20)^2)); ...

bijna 8 jaar ago | 1 answer | 0

1

answer