Function: plotAssetHist undefined
14 views (last 30 days)
Show older comments
Christopher McCoy
on 29 Nov 2019
Commented: Guanjiong Zhang
on 29 Mar 2021
Hi,
To do a CVaR Portfolio Optimization I want to create histograms of the asset returns of some of the assets in my dataset.
The instructions on Mathworks (https://de.mathworks.com/matlabcentral/fileexchange/38288-cvar-portfolio-optimization?focused=7b48f4e0-5b11-41aa-a0dd-e3e786a957b9&tab=example) tell me to do this with the function plotAssetHist. However, when I type the command into my command window it tells me that the function is undefined.
Does someone know what could cause this problem? I have installed all the necessary toolboxes.

Thanks in advance and regards,
Chris
1 Comment
Accepted Answer
Kavya Vuriti
on 2 Dec 2019
Edited: Kavya Vuriti
on 2 Dec 2019
Hi,
I think supporting function named 'plotAssetHist' is missing.Try using the suppoting function given in the link.
0 Comments
More Answers (0)
See Also
Categories
Find more on Portfolio Optimization and Asset Allocation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!