I have two vectors
which are coupled, I mean that they define a certain scalar field at a given position.
I want to select 1000 random items from A and plot them versus other the other 1000 B coupled items.
With this code
I select 1000 random values of A. For example they are A,A,A, etc.
How can I select B,B,B,etc. ?
but it returned just one value. What am I doing wrong?