Animation of convolution function

15 views (last 30 days)
jinang patel
jinang patel on 26 Nov 2021
Commented: John D'Errico on 26 Nov 2021
Hi,
Does matlab have a function to plot animation on convolution functions? Say I have conv_out= conv(a,b), how to plot an animation of conv_out along with input vector
  1 Comment
John D'Errico
John D'Errico on 26 Nov 2021
No, but why would there be? It can be written, as it was to produce the example you see. This is not the kind of thing that would be of universal utility, so it is also not the thing one wants to write for general use, then needing to test it, possibly debug it, maintain it when new releases come out, etc.
Can you write it? Of course. There are animation tools in MATLAB. For eample, when I try this:
lookfor animate
addpoints - Add points to animated line animatedline - Create animated line clearpoints - Clear points from animated line getpoints - Return points that define animated line animatedline - overloaded for gpuArrays and distributed arrays sdl_flexible_shaft_transverse_animate - Animates the transverse motion of the flexible shaft. sdl_flexible_shaft_transverse_animate_eigenmodes - Code to animate transverse vibrations from sdl_flexible_shaft_transverse model: flexShaft_eigen block sdl_flexible_shaft_transverse_animate_lumped_mass - Code to animate transverse vibrations from sdl_flexible_shaft_transverse model: flexShaft_lumpedMass block sscfluids_refrigeration_animate_phdiagram - Code to animate pressure-enthalpy diagram from sscfluids_refrigeration ssc_refrigeration_animate_phdiagram - Code to animate refrigeration cycle from ssc_refrigeration ssc_transcritical_refrigeration_animate_phdiagram - Code to animate pressure-enthalpy diagram from ssc_transcritical_refrigeration animate - Replace current data with new data for animation. sl3dexf_incrot - Animated Rotations
I might wonder if tools like animatedline, etc., might be useful. If you do decide to write such a tool, then post it on the File Exchange, for others to find and learn from your efforts.

Sign in to comment.

Answers (0)

Categories

Find more on Animation in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!