A logical function with Experimental data
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I designed an exepriment with a different software and I am using matlab to analyse my data, First I had my subjects move a stylus from a center circle with coordinates [start_x = 24.000;,start_y = 16.000] to four different targets either above, below, to the left or right of the target circle and example of the cordinate for the target located at the top of the origin is [target_x = 27.000,target_y = 16.000], I need help with a function that can put all the four target locations into an array and automaticaly select (if true) the right target and use it for the analysis rather than have me edit the cordinates individually for different target locations.
example of my code is below
start_x = 24.000;
start_y = 16.000;
target_x(N-1) = [24.000,19.000,21.000,16.000,24.000,13.000,27.000,16.000]
target_y(N) = [24.000,19.000,21.000,16.000,24.000,13.000,27.000,16.000]
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots 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!