218 Chapter 6. Function Reference
ans (a rectangular matrix) =
1 0.608453
2 1.46287
3 1.52714
4 2.35505
5 3.28128
6 3.848
pdmA = pdm(A,[1,2,3])?
pdmA (a pdm) =
domain | Col 1 Col 2
-------+------------------------
1 | Row 1 1 0.608453
| Row 2 1 0.854421
-------+------------------------
2 | Row 1 1 0.0642647
| Row 2 1 0.827908
-------+------------------------
3 | Row 1 1 0.926234
| Row 2 1 0.566721
-------+------------------------
csum(pdmA)
ans (a pdm) =
domain | Col 1 Col 2
-------+------------------------
1 | Row 1 1 0.608453
| Row 2 2 1.46287
-------+------------------------
2 | Row 1 1 0.0642647
| Row 2 2 0.892173
-------+------------------------
3 | Row 1 1 0.926234
| Row 2 2 1.49296
-------+------------------------
csum(pdmA,channels)