Animating While Trimming the Spikes of the Figure

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Oceanography and Hydrology 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by