Program: Write a MATLAB function that generates sentences of the form (xy)^nz^n , where n is an integer > 0 provided as an argument to your function. This is how the function starts.
function sentence = xynznGrammar(n)
This one is complex and I don't know how to write the MATLAB function.