r/matlab•
ICantUseMatlab

[Homework Help]

HomeworkQuestion

How do i find the greatest common divisor for each pair of two matrices ??? I need to create an algorithm for this but I have no clue how to do it.

Example:

M1: [1,2,3,4,5] M2: [1,2,3,4,5]

like find the GCD for (1,1); then (1,2), then (1,3), and so on until i reach (5,5).

Posted Aug 29, 2016, 11:57 PM UTC

07
Loading comments…