ex8: move err to title
This commit is contained in:
parent
e3f90dd286
commit
16a3407843
@ -38,7 +38,5 @@ plot(y5)
|
|||||||
hold off
|
hold off
|
||||||
|
|
||||||
legend("s","x","y3","y5");
|
legend("s","x","y3","y5");
|
||||||
|
errors = ['Ex: ' num2str(DiogoEliseuHugo_TP2_6(x, s)) ' Ey3: ' num2str(DiogoEliseuHugo_TP2_6(y3, s)) ' Ey5: ' num2str(DiogoEliseuHugo_TP2_6(y5, s))];
|
||||||
fprintf("erro de x aproximado a s: %f\n", DiogoEliseuHugo_TP2_6(x, s));
|
title(errors)
|
||||||
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));
|
|
Reference in New Issue
Block a user