Animating While Trimming the Spikes of the Figure
    3 views (last 30 days)
  
       Show older comments
    
clearvars;
close all;
clc;
x = 0:50;
y = rand(1,length(x));
plot(x,y);
I want to trim the spikes of the figure at y=0.5, but while doing it,  I want to animate the trim with a triangle (as a tool cuts the spikes with a knife). 
Can anyone please help me with this?
Thank you
0 Comments
Answers (0)
See Also
Categories
				Find more on Animation in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!