i have multiple inputs of that when put in the only four solves at the bottom only give one output unlike they should
for i = 1 : 80 s(i+1) = i; Y = sym('Y'); syms S S = solve (Y==((0.02*i)+0.15),Y);endsyms P1syms P2syms P3syms P4P1 = solve (P1==((8*0.85)/((8*S)-1))-(27/(64*(S^2))),P1)P2 = solve (P2==((8*0.9)/((8*S)-1))-(27/(64*(S^2))),P2)P3 = solve (P3==((8*0.95)/((8*S)-1))-(27/(64*(S^2))),P3)P4 = solve (P4==((8*1)/((8*S)-1))-(27/(64*(S^2))),P4)
Best Answer