How to get DataIndex array out of cursor_info?
8 次查看(过去 30 天)
显示 更早的评论
cursor_info.DataIndex() returns two answers. However, I don't know how to get the array out of the struct?
Thanks,
H
0 个评论
采纳的回答
Maadhav Akula
2019-8-12
You can get the array by using the following command :-
A = [cursor_info.DataIndex]
Hope this helps!
0 个评论
更多回答(1 个)
jp HU
2024-1-27
A = [cursor_info.DataIndex];
for i=1:2
emg = abs(variablename(:,i));
for x=1:5
a=inde(2*x);
b=inde(2*x-1);
fea.ABS (i,x) = mean (emg(a:b));
end
end
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Structures 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!