Please, how can I effectively compute the average values of stresses at each node of my finite elements in MATLAB as I loop over the entire elements?

Please, how can I effectively compute the average values of stresses at each node of my finite elements in MATLAB as I loop over the entire elements?
I describe the problem in the picture below. I need a MATLAB code to implement the average values of the stresses on each node. I want to report a (16 x 3) matrices. Each row will be the average value of the stresses on each node.
Thank you.

Risposte (1)

There are lots of ways to report data, depending on what "report" means to you. Functions that come to mind include fprintf(), disp(), helpdlg(), msgbox(), writetable(), xlswrite(), dlmwrite(), csvwrite(), etc. Look them up in the help and pick the one that you think you would like best.

Richiesto:

il 8 Mar 2017

Modificato:

il 8 Mar 2017

Community Treasure Hunt

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

Start Hunting!

Translated by