Gistlib Logo

gistlib

other matlab categories

t code snippets in matlab

create a function of t in terms of p in matlab
design the function function loss = loss_func(t_hat, t) that computes the empirical loss f binary predictions t_hat in matlab
draw the 3-d plot for the function f(t)=(t, t^2, t^3), where 0≤t≤100. in matlab

gistlibby LogSnag