Can someone help me with enveloping the curve?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Neha Sinha
el 11 de Jun. de 2018
Comentada: Neha Sinha
el 11 de Jun. de 2018
I need to get the result as attached. I have included the data required to plot the curve.
0 comentarios
Respuesta aceptada
KSSV
el 11 de Jun. de 2018
Have a look on envelope.
S = importdata('data.txt') ;
data = S.data ;
t = data(:,1) ; y = data(:,2) ;
plot(t,y) ;
hold on
[up,lo] = envelope(y);
plot(t,up,'r')
Your data is in text file data.txt
3 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!