I am trying to optimize my experiment through selecting optimized parameters (temperature, concentrations of chemicals, etc.) which affect my cost function which is the surface area of activated carbon. I see that matlab has tools such as rstool and rsmdemo but I need some help explaining how I could apply it to my work.