8 lines
105 B
Matlab
8 lines
105 B
Matlab
function plot_cost(J)
|
|
figure(2);
|
|
|
|
plot(J);
|
|
|
|
xlabel('itarations');
|
|
ylabel('cost');
|
|
end |