Standard Deviation Inbuilt Function available in math.h?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Standard Deviation Inbuilt Function available in math.h?

528 Views
utsavikalpesh
Contributor V

Hi.,

 

I am working with CodeWarrior v10.6 and of MQX v4.0.

 

I want a function that is calculating Standard Deviation. is there any provision in am math.h .

I tried to search it on math.h but helpless to get it.

 

Regards,

Utsavi Bharuchwala

Labels (1)
0 Kudos
2 Replies

268 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Utsavi Bharuchwala,

from what I know, math.h doesn't have a function to support standard deviation, but it can support some other floating point calculation, for instance sqrt() -- Square Root Calculation.

to get floating point calculation working, we must set compiler tool:

Tool Settings->Librarian->Model->c9x

The EWL library has a smaller footprint but doesn’t support floating point calculations.

I suggest you refer this thread for more information:

Floating point calcs on Kinetis CPU CW 10.1 MQX 3.7


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

268 Views
utsavikalpesh
Contributor V

Hi Jennie,

Thanks for reply.

Regards,

Utsavi Bharuchwala

0 Kudos