Inserting buttons that perform mathematic operations

M

MichaelZ

I have a matrix of numbers:

a1 b1 c1 d1
a2 b2 c2 d2
a3 b3 c3 d3

I'd like to divide each of the values in this matrix by a particular number
that the user selects, then have the new values in a separate matrix nearby
the original one. One thing, I'd like the user to be able to select the
dividend by simply pressing a button that is specific to each dividend value.
As part of this, please show how to insert the buttons and link each to a
dividend value. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top