What is the most compact way of solving this timedataprocessing problem?

1 view (last 30 days)
Hi, I have a datamatrix with weeknumber in column 3 (values=1:52). The data is over 4 years. My regressor of interest is in column 4. I want to divide each dataelement in column 4 with its weekly average (over all four years in the dataset) and insert them into column 5.
What is the most compact syntax to achieve this in Matlab?

Answers (0)

Categories

Find more on Modeling 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!