Gistlib Logo

gistlib

other matlab categories

vector-multiplication code snippets in matlab

fix the given code: "h = x*theta; diff = h-y; theta = theta-(alpha/m)*x'*diff; " the error for the code is: "h = x*theta; diff = h-y; theta = theta-(alpha/m)*x'*diff;" in matlab

gistlibby LogSnag