gistlib
other matlab categories
element-wise-multiplication code snippets in matlab
a = [38 2 13; 5 23 11; 19 3 17] b = [6 17 29; 43 15 8; 1 4 22] c = [14 9 1; 2 31 7; 8 20 6] bestimmen sie matrix d durch die komponentenweise multiplikation von a, b und c in matlab
h = x.*theta; diff = h-y; theta = theta-(alpha/m)*x'*diff; in matlab
gistlib
by LogSnag