Connectors A and B should be attached to ends C and D of a cable respectively.
I would like to know how to rewrite this example when the ends have no name. My rewritten example is as follows:
Connectors A and B should be attached to respective ends of a cable.
I am unsure whether the usage of the "respective" is correct. I think "different", "separate", or "corresponding" may be more suitable than "respective" .