how to use output as input in same code
조회 수: 1 (최근 30일)
이전 댓글 표시
h = 2
for I = 1:15
E = 0
for el = 1:20
M = 1 +h
E = E + M
end
end
how can I use the new value of E for each iteration?
댓글 수: 5
KALYAN ACHARJYA
2019년 9월 17일
편집: KALYAN ACHARJYA
2019년 9월 17일
h=2
E=0
for ...
for ...
....
E=E+M % Update E
end
end
Role of I loop ??
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!