/* * norm.c * * Code generation for function 'norm' * * C source code generated on: Wed Aug 26 14:59:33 2015 * */ /* Include files */ #include "rt_nonfinite.h" #include "Select_Ground_Motions.h" #include "norm.h" /* Function Definitions */ real_T norm(const emxArray_real_T *x) { real_T y; int32_T k; y = 0.0; for (k = 0; k < x->size[1]; k++) { y += muDoubleScalarAbs(x->data[k]); } return y; } /* End of code generation (norm.c) */