Tryng to graph with for loop
Mostrar comentarios más antiguos
Mean=3;
Lamda=.33;
for i=1:0.25:10
s=exp(-Lamda*i);
H4=(1-((1-s)^3))
H5=(1-((1-s)^4));
H6=(1-((1-s)^5));
L3=(1-(1-(s))^2)^3;
L4=(1-(1-(s))^2)^3;
L5=(1-(1-(s))^2)^3;
end
plot(H4)
grid on
Trying to plot H4,H5,H6,L3,L4,L5
but wont plot only eturns array
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Networks 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!