elemental subtraction indices of initial vector
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Mahla Bakhshi
am 18 Sep. 2020
Beantwortet: madhan ravi
am 18 Sep. 2020
Hi !
A is my array of numbers
I substract all the elements from each other with A - A' which give me a matrice T with size of length (A) * length (A)
Now that I want to look for specific value in this matrice, find (T == x) it gives me the indices of the value in the matrice.
My question is how can I find out what this indece represents in form of my initial array A?
in short :::
T = A - A '
find (T == my value) ==> ans = i where T (i) == my value
how to find out j and k where T (i) = A (j) - A (k)
Thanks in advance!
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Task Control and Worker Communication finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!