What velue to use for "smooth3(A, 'gaussian', v)?

4 views (last 30 days)
When using "smooth3(A, 'gaussian', v), unlike the 'box' method, the value v doesn't seem to take affect. Without v, or 5, or 99 it has the same effect. The 'doc smooth3' doesn't provide real information.
Thanks.

Accepted Answer

Adam Danz
Adam Danz on 11 Oct 2022
Good question @John.
The syntax smooth3(A,'gaussian',V) passes the data A through a gaussian lowpass filter with a default standard deviation of 0.65 (you could specify that in an optional 4th argument). V defines the 3D window size for the filter.
Without seeing your data or the results, I can't explain why various V values produce the same results. If you attach a mat file that contains A and V I could dig deeper.
  4 Comments
Adam Danz
Adam Danz on 17 Oct 2022
Thanks for that detailed explanation and demo @John D'Errico!

Sign in to comment.

More Answers (0)

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!