How to get the value and index of the point where the plot ends (Marked by an arrow in image below) and display it? I have used 'find' command but it did not help. Please help me out. .mat file is attached.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Biswarup Dutta
el 4 de Abr. de 2017
Comentada: Biswarup Dutta
el 4 de Abr. de 2017
My code:
clc
clear
close all
a=importdata('Biswarup_rest.mat');
b=a.data;
x=b(32580:36100,1);
[val, idx] = max(abs(x));
plot(abs(x), 'b-', 'LineWidth', 2);
ylim([0.289 0.7])
find(abs(x(end)));

0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!