Result according to corresponding variables
Ältere Kommentare anzeigen
Hi!
I'd like to obtain the result in the output according to the variables A1, A2, A3 and values.
A1 = [100; 130; 160; 2100]
A2 = [200; 10; 150; 230]
A3 = [300; 120; 1400; 220]
Values = [100; 1400; 200; 150; 1400]
output = [A1; A3; A2; A2; A3]
Please, how can I achieve this? May someone help me?
2 Kommentare
John D'Errico
am 30 Sep. 2021
Bearbeitet: John D'Errico
am 30 Sep. 2021
How are the input and output related?
While I might make a wild guess that a sort is somehow important here, there are THREE vectors A1,A2,A3, but there are 4 diatinct values in the vector Values. So how should we guess to do what here?
The crystal ball is just so foggy today.
Ariane Moura
am 30 Sep. 2021
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Trigonometry finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!