Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

pls, help me with this

1 visualizzazione (ultimi 30 giorni)
fede
fede il 23 Mar 2016
Chiuso: MATLAB Answer Bot il 20 Ago 2021
I have the following matrix:
Name_1 Name_2 ..... Name_n
23.5 25.8 29.6
24.5 85.5 ........ 59.2
. . ........ .
and so on. A matrix (nxn), where in the first row ther'is the name of stocks, and in the other row the historical price. Then, I have another matrix of pair of stocks, for example:
Name_1 Name_2
Name_3 Name_5
and so on....
I want a code that give me for all pair the respective stock prince. For example for the first pair: Name_1 Name_2 I want to extrapolate the following matrix:
Name_1 Name_2
23.5 25.8
24.5 85.2
and so on.
Thxs
  1 Commento
KSSV
KSSV il 24 Mar 2016
ALready matrix 1 is in the form you want. What is in matrix 2? Can you be bit more clear?

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by