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

"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)

This avg_daily_ret2 variable not contain details so you can copy and replace another code?

Categories

Tags

Asked:

LM
on 28 Oct 2017

Commented:

LM
on 28 Oct 2017

Community Treasure Hunt

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

Start Hunting!