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.
Blood Test for Cocaine. Cocaine in the blood is detectable from few minutes and up to 5-6 hours after a single dose (2). Blood tests for cocaine are expensive. Cocaine may appear in the hair as soon as 8 hours or sometimes only 7-10 days after a single use and can stay there for months â until the hair is cut. The amount of cocaine and time when it was used cannot be reliably determined by a hair test (4).