How to use width

1 view (last 30 days)
Danny Maefengea
Danny Maefengea on 4 Sep 2020
Commented: Danny Maefengea on 4 Sep 2020
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 Comments
Adam Danz
Adam Danz on 4 Sep 2020
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
Danny Maefengea on 4 Sep 2020
Oh thank you Sir, point noted.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!