How can i convert my data into matrix vectors?

3 views (last 30 days)
I am trying to calculate the Modal Assurance Criterion (MAC) using results that i have obtained experimentally against Numerical results.
Experimental data:
2741.8, 2760.5, 3006.8, 3140.8, 3422.6, 3854.6, 4424.6, 4699.4, 4922.4, 5596
Numerical data:
2721.9, 2753.8, 2989, 3122.2, 3406.3, 3846, 4409.5, 4685, 4890.5, 5566.6
  3 Comments
kentridge mantsha
kentridge mantsha on 27 Feb 2020
Hi, thank you for the prompt response.I am trying to use this code to calculate and plot my Modal Assurance Criterion. see https://www.mathworks.com/matlabcentral/fileexchange/73778-modal-assurance-criterion
I have to first convert my experimental and numerical data (inputs) into matrix of mode shape vectors.
Luis Angel De La Rosa Jiménez
Hi Kentridge, did you solve your problem?, I need to generate the MAC matrix, could you help me?

Sign in to comment.

Answers (1)

dpb
dpb on 26 Feb 2020
dataExp=[2741.8, 2760.5, 3006.8, 3140.8, 3422.6, 3854.6, 4424.6, 4699.4, 4922.4, 5596];
dataNum=[2721.9, 2753.8, 2989, 3122.2, 3406.3, 3846, 4409.5, 4685, 4890.5, 5566.6];
or, maybe use a table or 2D array...
Need work through the Getting Started section of documentation to get the rudiments of syntax.

Community Treasure Hunt

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

Start Hunting!