Date: Nov 25, 2012 11:27 PM
Author: Abdo Adam
Subject: inserting an equation and plotting it

i'm trying to insert an equation and plot it, but i couldn't because i keep getting errors like : matrix dimensions must agree, or inner matrix dimensions must agree.
this is the equation. M has a value of 1 to 5 with an increment of 0.5. Q has a value of 0 to 1 with an increment of 0.1.
the plot is something like this.

i tried to split the equation into parts, so it would be easier for me to insert it
i'm having a problem with the last part, i get this error


Subscript indices must either be real positive integers or logicals.