How can i convert my data into matrix vectors?

2 次查看(过去 30 天)
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 个评论
kentridge mantsha
kentridge mantsha 2020-2-27
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?

请先登录,再进行评论。

回答(1 个)

dpb
dpb 2020-2-26
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.

类别

Help CenterFile Exchange 中查找有关 Numeric Types 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by