Hi all, I want to plot using different parameter values of a, p1 and p2 in the same plot in the following code. Like a = 1,2,3 , p1= 1,2,3 and p2= 1,2,3.
My code:
a = 1;p1=1;p2=1;r1 = 1/2.*log2(1+(p1/(a+ p2)));r2 = 1/2.*log2(1+(p2/(a)));plot([0 r1],[r2 r2]);hold on;plot([r1 r2],[r2 r1]);plot([r2 r2],[r1 0]);
Thanks
Best Answer