Why am i getting an error on this command? "N = length(avg_daily_ret2);"

1 view (last 30 days)
"N = length(avg_daily_ret2);"
Error says : The expression to the left of the equals sign is not a valid target for an assignment
This is really annoying as it was working for weeks and weeks and now all of a sudden this error appears which won't allow me to run this section of my code.

Answers (1)

Selva Karna
Selva Karna on 28 Oct 2017
This avg_daily_ret2 variable not contain details so you can copy and replace another code?

Categories

Find more on Graphics Performance in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!