How to use width
이전 댓글 표시
Hello
I have tried to work on smoothing of data and I came across this code. I dont really understand what the number 1s at the end means. Can anyone help please?
for i = (width-fix(width/2)))-1:-1:1
댓글 수: 4
David Hill
2020년 9월 4일
i is starting at (width-fix(width/2))-1 and stepping down in -1 increments to 1.
Danny Maefengea
2020년 9월 4일
Adam Danz
2020년 9월 4일
Looks like a good answer to me, David (hint to copy the comment as an anwer 😉) .
Danny, note the typo in your question that David corrected in his solution (one too many closing parentheses).
Danny Maefengea
2020년 9월 4일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Get Started with Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!