Animation of convolution function

3 次查看(过去 30 天)
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 个评论
John D'Errico
John D'Errico 2021-11-26
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Animation 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by