how to link sectors with companies?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hello everyone,
I am doing a project, portfolio optimization. I have 10 sector and 500 companies in these sectors. I want user to choose sector/sectors, and force the program to use the those companies within the choosen sectors. Each sector has different number of companies meaning that not every sector has 50 companies in it. I couldnot find a solution/way for my problem. I would be glad if one of you can help me.
2 comentarios
Steven Lord
el 15 de Mayo de 2020
How are you storing your data? Do you have a table, a 500 element vector containing numbers between 1 and 10, a 500-by-10 array with true in an element indicating that row's company is in that column's sector, etc. Or have you not yet imported the data (from a text file?) into MATLAB and so it's only in the file / database / other storage system?
Respuestas (0)
Ver también
Categorías
Más información sobre Characters and Strings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!