## Normalising multiple columns of a matrix to a fraction of its maximum value

Data: Measurements of a bridge’s natural frequencies / eigenfrequencies (master’s degree, civil engineering)

1) Data set example (paint):

Notes:

a) f_1, f_2, f_3, f_n => natural frequencies [Hz],

b) a_i, b_i, c_i, n_i => displacement of i-th node / measuring point [mm],

c) there are always 21 measuring points => there are always 21 rows

d) measurements (data sets) are different => n is sometimes 5, sometimes 10, sometimes 15 but I need to analyze all data sets

2) Problem to solve (paint):

Notes:

a) a_i/a_max, b_i/b_max, n_i/n_max => fractions of maximum displacement [mm/mm=no unit]

Comment:

I need to write a code that would remake a matrix consisting of displacement values [mm] so it divides all values by the value’s column’s maximum value [mm/mm=no unit]. So in each column there should be exactly one number equal to 1,00. I know how to divide a whole matrix by a maximum value (of a matrix or just a row), but I have no idea how to divide each column by a different number. Complicated, I know. I need this for further calculations (comparing experimental and finite element method modal shapes).

Thanks in advance! I hope you liked my Paint talent :)Data: Measurements of a bridge’s natural frequencies / eigenfrequencies (master’s degree, civil engineering)

1) Data set example (paint):

Notes:

a) f_1, f_2, f_3, f_n => natural frequencies [Hz],

b) a_i, b_i, c_i, n_i => displacement of i-th node / measuring point [mm],

c) there are always 21 measuring points => there are always 21 rows

d) measurements (data sets) are different => n is sometimes 5, sometimes 10, sometimes 15 but I need to analyze all data sets

2) Problem to solve (paint):

Notes:

a) a_i/a_max, b_i/b_max, n_i/n_max => fractions of maximum displacement [mm/mm=no unit]

Comment:

I need to write a code that would remake a matrix consisting of displacement values [mm] so it divides all values by the value’s column’s maximum value [mm/mm=no unit]. So in each column there should be exactly one number equal to 1,00. I know how to divide a whole matrix by a maximum value (of a matrix or just a row), but I have no idea how to divide each column by a different number. Complicated, I know. I need this for further calculations (comparing experimental and finite element method modal shapes).

Thanks in advance! I hope you liked my Paint talent đź™‚Â Data: Measurements of a bridge’s natural frequencies / eigenfrequencies (master’s degree, civil engineering)

1) Data set example (paint):

Notes:

a) f_1, f_2, f_3, f_n => natural frequencies [Hz],

b) a_i, b_i, c_i, n_i => displacement of i-th node / measuring point [mm],

c) there are always 21 measuring points => there are always 21 rows

d) measurements (data sets) are different => n is sometimes 5, sometimes 10, sometimes 15 but I need to analyze all data sets

2) Problem to solve (paint):

Notes:

a) a_i/a_max, b_i/b_max, n_i/n_max => fractions of maximum displacement [mm/mm=no unit]

Comment:

I need to write a code that would remake a matrix consisting of displacement values [mm] so it divides all values by the value’s column’s maximum value [mm/mm=no unit]. So in each column there should be exactly one number equal to 1,00. I know how to divide a whole matrix by a maximum value (of a matrix or just a row), but I have no idea how to divide each column by a different number. Complicated, I know. I need this for further calculations (comparing experimental and finite element method modal shapes).

Thanks in advance! I hope you liked my Paint talent đź™‚Â natural frequency, eigenfrequency, master’s degree, civil engineering, matrix divisionÂ MATLAB Answers â€” New Questions

â€‹