First of all, it is strongly recommended avoiding naming variables with names of existing functions, so calling your values vector "zeros" ... ... <看更多>
Search
Search
First of all, it is strongly recommended avoiding naming variables with names of existing functions, so calling your values vector "zeros" ... ... <看更多>
Maybe this code can help you: function mse x = linspace(0,10,100); y = sin(x)+x-(x/5).^2; hold off plot(x,y) yMax = max(y); xMax = x(find(y==yMax)); hold on ... ... <看更多>
... <看更多>
%PLOT_POINT Draw a point. %. % PLOT_POINT(P, OPTIONS) adds point markers and optional annotation text. % to the current plot, where P (2xN) and each column ... ... <看更多>