Hello, I am a Matlab user beginner. I would like to seek your help about how to get the vector relative black point and red point. (like a black arrow). Thank you very much. The red position is red(x,y) =[25 257
64 181
64 334
68 31
105 257
106 104
107 410
147 181
147 334
148 28
149 487
189 104
189 257
189 410
229 181
230 28
230 333
230 486
269 104
271 410
272 257
313 28
313 181
313 334
313 486
354 104
355 257
355 410
396 180
396 334
397 28
397 486
438 104]
black postion(x,y) = [ 63 332
71 184
102 403
112 256
119 111
152 327
160 182
163 35
192 398
201 252
205 109
235 471
244 323
246 181
251 37
283 395
288 250
289 105
325 467
328 318
330 179
331 35
369 249
371 105
372 393
414 176
415 320
415 466
454 103
455 392
456 248
492 176
493 320]
Best Answer