why step size is divided by 50?
이전 댓글 표시
step size = (Tmax-Tmin)/50
my question is why it should divided by 50?
댓글 수: 4
John D'Errico
2018년 3월 9일
Out of context, the only answer is because the sky is blue. (Ok, it will be blue, somewhere. It is fairly black right now for me.)
My guess is there are intended to be 51 steps.
Stephen23
2018년 3월 9일
@sk karimulla: what would you divide it by?
Note that without any context or description of where this code is used we have no idea what this code and its values are used for.
sk karimulla
2018년 3월 9일
Rik
2018년 3월 9일
Without more specific context of your system it is still impossible to give you a more meaningful answer. Apparently the units that Tmin and Tmax are in are 50 times larger than the step size of the model, or there should be 50 steps, or any other reason.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!