Debugging in Matlab is much easier then other languages. Just check all warning in the textpad (at the right handside) when you face with an error (For your case, Matlab would warn you at the line where you define your function and say the name of the function should be same as the name of the *.m file).
How long does it take for THC to get out your system with a saliva swab test? approx detection period for saliva testing /thc - 1-3 days to max 7-10 days .Main thing ...this type of test don't have nationally accepted standards or cutoff concentrations â¦ so result and time for detection will dependent on the test. have a friend that took a swab test for THC .And it tested positive 5 weeks after they stopped smoking...I was told by a counselor that it depends on how often you smoke as to how long it will take to be undetected..usually 4 to 6 weeks.
Cocaine can be detected in the urine for 4-8 hours after a single snorted (nasal) dose, and up to 24 hours after a single ingested (oral) dose (1). A breakdown product of cocaine, benzoylecgonine can be detected in the urine for up to 60 hours after a single use, or up to 22 days after repeated use (1). Other metabolites detected in urine after cocaine use: ecgonine methyl ester, cocaethylene (when cocaine is taken by alcohol) (3).