I'm calculating portfolio returns from daily prices. As you can see from the attached file, my dates are organised such that latest date and price are listed first and then scrolling down the column, dates become older. So to calculate returns, I need MATLAB to read my data in inverse, from the bottom up.
however, this only allows me to return results for a single asset in my portfolio. I require returns for multiple product prices in my portfolio.
Any help deeply appreciated. Thank you.