1 2 3 4 5 6 7 8 9 10
//factors of a^2+cd+ad+ac clear; clc; close; mprintf(" \n (a^2+ac)+(ad+cd) => a(a+c)+d(a+d) \n") mprintf("the factors are:") val=string('(a+c)(a+d)')