Relate a value obtained with values that formed it (Vector Relationship)

2 次查看(过去 30 天)
Hello good day.
I hope you can support me in the following.
dx1 dy1 dx2 dy2 SLL
0.81 1.46 1.92 1.77 87.64
0.98 1.33 2.11 1.53 55.99
0.22 1.64 1.73 1.35 84.11
0.55 1.42 2.30 1.40 116.42
In the first iteration of the code, the 1st line of values of dx and dy is generated (0.81 1.46 1.92 1.77)
These data are processed and result in the 1st SLL value of 87.64
In the second iteration of the code, the 2nd line of values of dx and dy is generated (0.98 1.33 2.11 1.53)
These data are processed and result in the 2nd SLL value of 55.99
And so until the 4th iteration, the dx and dy values are processed and an SLL of 116.42 is obtained
How can I know, the dx and dy values that generated the minimum SLL value?
In other words, from a minimum value of SLL know the values of dx and dy that generated that value
Taking into account that more than 1000 iterations will be made
I look forward to your valuable help.
Greetings.

采纳的回答

the cyclist
the cyclist 2019-8-14
Assuming those are all numeric vectors of the same length, then
[min_SLL,min_idx] = min(SLL);
min_dx1 = dx1(min_idx);
min_dy1 = dy1(min_idx);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by