Ahora está siguiendo esta pregunta
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
Extract monthly stock return data out of a table
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/557047/image.jpeg)
1 comentario
Respuesta aceptada
21 comentarios
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/557357/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/557362/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/557367/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/558227/image.jpeg)
- Look into table DS_10T{1, 1} (top 10% of stocks in reporting time frame R1 09/01 - 09/11)
- Take the Stock_IDs out of DS_10T{1, 1} and search for their return data in table 'G'
- Extract the return data of these stocks out of 'G' for the corresponding analysing time frame A1Top 10/1 - 10/12 (12 months, skipping one month after reporting time frame)
- Save the extracted return data as the first table of a new 41x1 cell DS_10T_An
- Look into table DS_10T{2, 1} (top 10% of stocks in reporting time frame R1 09/04 - 10/02)
- Take the Stock_IDs out of DS_10T{2, 1} and search for their return data in table 'G'
- Extract the return data of these stocks out of 'G' for the corresponding analysing time frame A1Top 10/4 - 11/03 (12 months, skipping one month after reporting time frame)
- Save the extracted return data as the second table of the 41x1 cell DS_10T_An
- Look into table DS_10B{1, 1} (bottom 10% of stocks in reporting time frame R1 09/01 - 09/11)
- Take the Stock_IDs out of DS_10B{1, 1} and search for their return data in table 'G'
- Extract the return data of these stocks out of 'G' for the corresponding analysing time frame A1Bottom 10/1 - 10/12 (12 months, skipping one month after reporting time frame)
- Save the extracted return data as the first table of a new 41x1 cell DS_10B_An
- Look into table DS_10B{2, 1} (bottom 10% of stocks in reporting time frame R1 09/04 - 10/02)
- Take the Stock_IDs out of DS_10B{2, 1} and search for their return data in table 'G'
- Extract the return data of these stocks out of 'G' for the corresponding analysing time frame A1Bottom 10/4 - 11/03 (12 months, skipping one month after reporting time frame)
- Save the extracted return data as the second table of the 41x1 cell DS_10B_An
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/569609/image.jpeg)
Más respuestas (0)
Ver también
Categorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Se ha producido un error
No se puede completar la acción debido a los cambios realizados en la página. Vuelva a cargar la página para ver el estado actualizado.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia-Pacífico
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)