Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Uniformity through Standard Deviation

Please login with a confirmed email address before reporting spam

Hi,

I have a hard time understanding how to do the following:

- Calculate the standard deviation of the temperature on a edge/surface (2D/3D) in order to evaluate the temperature uniformity at that edge/surface.

I created a "Edge 2D" data set. From this I could easily create a second data set to get the Average but I would like to calculate the Standard Deviation.

Do I need to create another data set which is Integrating?
I don't understand how I can get the Square value of the values on my Edge 2D data set in order to integrate and divide by the length of this edge?

I thought it would be simpler to go in MATLAB and just use the std(x) standard deviation function but even after reading the LiveLink and API documentation, I still can't figure how to re-import a M-file into COMSOL (I don't have the option to open a .m file).

Any thoughts to point me in the right direction?

Thank you!

0 Replies Last Post Feb 17, 2011, 11:08 a.m. EST
COMSOL Moderator

Hello Dominique

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.