[Noob] Blank data -> NaN
Show older comments
I'm trying to use matlab to get a porfolio optimization.
I import excel data of a bunch of investment funds, but where some funds have over 60 trimesters of data, some have only 20. When matlab imports the data, it fills the blank spaces with NaN and doesn't run portopt because it has NaN values.
How can I solve this?
Accepted Answer
More Answers (0)
Categories
Find more on Risk Management Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!