diff --git a/DiogoEliseuHugo_TP2_8.m b/DiogoEliseuHugo_TP2_8.m index 9b085b3..5ef0ff3 100644 --- a/DiogoEliseuHugo_TP2_8.m +++ b/DiogoEliseuHugo_TP2_8.m @@ -38,7 +38,5 @@ plot(y5) hold off legend("s","x","y3","y5"); - -fprintf("erro de x aproximado a s: %f\n", DiogoEliseuHugo_TP2_6(x, s)); -fprintf("erro de y3 aproximado a s: %f\n", DiogoEliseuHugo_TP2_6(y3, s)); -fprintf("erro de y5 aproximado a s: %f\n", DiogoEliseuHugo_TP2_6(y5, s)); \ No newline at end of file +errors = ['Ex: ' num2str(DiogoEliseuHugo_TP2_6(x, s)) ' Ey3: ' num2str(DiogoEliseuHugo_TP2_6(y3, s)) ' Ey5: ' num2str(DiogoEliseuHugo_TP2_6(y5, s))]; +title(errors) \ No newline at end of file