Reshape a 6-by-6 magic square matrix into a matrix that has only 3 columns. Specify [] for the first dimension size to let reshape automatically calculate the appropriate number of rows. The result is a 12-by-3 matrix, which maintains the same number of elements (36) as the original 6-by-6 matrix.
The amount of ounces in a cup of coffee vary widely across different brands and locations but, in general, a typical cup contains approximately 8 ounces of coffee. Note that the amount of coffee in a...
The math. There is, of course, a bit of finesse involved in step 1 above. First, a standard measure for coffee is 2 tablespoons per 6-ounce cup of coffee. Since âtablespoonsâ (and coffee scoops) vary, weâll go with the equivalent recommended by the Specialty Coffee Association of America, 10 grams per 6 oz cup. I realize Iâm mixing metric with English measurements.