Why do I get the error ''Unrecognized function or variable 'regimeNormalization'. Error in @(data)reg​imeNormali​zation(dat​a,centers,​centerstat​s)''

35 views (last 30 days)
I am learning how ro do rul in this example
but in step 34
trainDataNormalized = cellfun(@(data) regimeNormalization(data, centers, centerstats), ...
trainData, 'UniformOutput', false);
I get tise error
Unrecognized function or variable 'regimeNormalization'. Error in @(data)regimeNormalization(data,centers,centerstats)
can any body help

Answers (1)

Asvin Kumar
Asvin Kumar on 19 Mar 2021
The helper function regimeNormalization is defined at the bottom of the example page.

Community Treasure Hunt

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

Start Hunting!

Translated by