File Exchange

image thumbnail

Modal Assurance Criterion (MAC)

version (2.1 KB) by Mohammad Farshchin
This function is to compute the Modal Assurance Criterion (MAC) between mode shapes


Updated 23 Sep 2015

View License

This function is to compute and plot Modal Assurance Criterion (MAC) matrix between identified mode shapes.

Comments and Ratings (22)


There is basically no instruction to go along with this, so good luck figuring out what to do and what goes where. There's one example, but so deconstructed and without context that it does not matter. If the author is still active, I highly recommend he add some sort of tutorial - or at least a proper explanation - to this file so that people who want to use it know what they are doing.

Da Cao


mati ullah

How can we calculate MAC between damaged and undamaged structures mode shapes?

Wentao Zhao

Unzip all files to the same folder then run the code.

Gaia C

It doesn't work, the error is:
"Not enough input arguments.

Error in MAC (line 11)
for I=1:size(phi,2)"

Can you help me?

Bo Miao

Arun Sharma

How to get the modal shape matrix in Abaqus?

There is a mat file in the zip file you download. This file contains the data.

Arun Sharma

Can someone provide a demo data as an example to learn and implement it?
Contact id:

Make sure that you save MAC.m and ModeShapes.mat in the same folder and set that folder as MATLAB working directory or add a path to it. Then: load ModeShapes.mat;MAC_Matrix=MAC(phi)

azade ch

it doesnot work, can u help me?

Nima Nazemi


Very Useful.

Jiawei Liu

Convenient. Thanks.

qiong zou

Thank's a lot!
It was very usefull during in course os structural dynamics.

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux