2
$\begingroup$

If I have a vector such as below and want to reduce it mod a number, how can I do this?

V = {{176}, {648}};
MatrixForm[V]
MatrixForm[V, Modulus -> 26]

Both MatrixForms above will output <176, 648> but I would like it to output mod 26 so that I would have <20, 24>

$\endgroup$

closed as off-topic by m_goldberg, Mr.Wizard Feb 14 '15 at 23:34

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – m_goldberg, Mr.Wizard
If this question can be reworded to fit the rules in the help center, please edit the question.

3
$\begingroup$
V = {{176}, {648}};

MatrixForm[Mod[V, 26]]

enter image description here

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.