Hi I'm trying to translate some codes i have from IDL to matlab.
the idl codes are
lineflat = reform(flatsub(*,cutline))
this is my understanding in matlab
lineflat = reshape(flatsub,cutline,:);
however i get an error that ":" that tells me "Undefined function or variable 'reshape'"
if i change the : to  it works? but im not sure if its the same function flatsub is a variable, and cutline is a number.