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 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!