How to get DataIndex array out of cursor_info?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Neo
el 10 de Ag. de 2019
Respondida: jp HU
el 27 de En. de 2024
cursor_info.DataIndex() returns two answers. However, I don't know how to get the array out of the struct?
Thanks,
H
![Screen Shot 2019-08-09 at 8.48.18 PM.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/233422/Screen%20Shot%202019-08-09%20at%208.48.18%20PM.png)
0 comentarios
Respuesta aceptada
Maadhav Akula
el 12 de Ag. de 2019
You can get the array by using the following command :-
A = [cursor_info.DataIndex]
Hope this helps!
0 comentarios
Más respuestas (1)
jp HU
el 27 de En. de 2024
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 comentarios
Ver también
Categorías
Más información sobre Structures 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!