We have taken measurements of the activity of 2 genes for 25 patients. In order to store this data, you must create a 2x25 component matrix.

1 次查看(过去 30 天)
Each column of this matrix will correspond to a different patient. Populate this matrix with the data for GeneA in the first row and the data for GeneB in the second row GeneA = [1.1 0.5 27 1.4 1.9 2.6 3.2 8.1 4.1 0.4 9.4 13 14.1 9.1 18.2 2.1 5.3 16.4 7 21.1 0.3 7.5 17.1 5.2 13.1]; GeneB = [0.2 0.6 11 0.9 1.2 0.9 1.8 4.4 2.5 0.3 5.9 7.9 5.9 6.1 7.2 1.8 1.6 6.1 5 10.1 0.2 4.0 8.8 1.5 4.2];

采纳的回答

VBBV
VBBV 2023-5-2
编辑:VBBV 2023-5-2
GeneA = [1.1 0.5 27 1.4 1.9 2.6 3.2 8.1 4.1 0.4 9.4 13 14.1 9.1 18.2 2.1 5.3 16.4 7 21.1 0.3 7.5 17.1 5.2 13.1];
GeneB = [0.2 0.6 11 0.9 1.2 0.9 1.8 4.4 2.5 0.3 5.9 7.9 5.9 6.1 7.2 1.8 1.6 6.1 5 10.1 0.2 4.0 8.8 1.5 4.2];
PatientData = [GeneA;GeneB]
PatientData = 2×25
1.1000 0.5000 27.0000 1.4000 1.9000 2.6000 3.2000 8.1000 4.1000 0.4000 9.4000 13.0000 14.1000 9.1000 18.2000 2.1000 5.3000 16.4000 7.0000 21.1000 0.3000 7.5000 17.1000 5.2000 13.1000 0.2000 0.6000 11.0000 0.9000 1.2000 0.9000 1.8000 4.4000 2.5000 0.3000 5.9000 7.9000 5.9000 6.1000 7.2000 1.8000 1.6000 6.1000 5.0000 10.1000 0.2000 4.0000 8.8000 1.5000 4.2000

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by