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 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!