//factors of ab-5a-3b+15 clear; clc; close; //by arrangement into suitable pairs, mprintf("(ab-5a)-(3b-15) => a(b-5)-3(b-5)") mprintf("\n the factors are: \n") val=string('(b-5)(a-3)')