We can solve the problem by using loops and conditionals in Matlab. We start by creating a loop that goes through all possible combinations of three consecutive integers. Then, we add a conditional statement that checks if the product is equal to 1716. If it is, we output the integers. Here's the code:
main.m123 chars6 lines
Output:
main.m29 chars2 lines
Therefore, the three consecutive integers whose product is 1716 are 12, 13 and 14.
gistlibby LogSnag