SOLVE ISNT GIVING ME MULTIPLE OUTPUTS
Mostrar comentarios más antiguos
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);
end
syms P1
syms P2
syms P3
syms P4
P1 = 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)
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Programming en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!