As others have pointed out, the compute_curvature function results in an index out of bounds error in some cases. So far, my untested and kind of random 'fix' was to comment out the code
%normal = normal'; (line 72) and
insert it again as
normal = normal'; (at line 146, after compute_normal()).
This seems to avoid the out of index error BUT I have no idea if it a right thing to do otherwise.
Some support from Gabriel, would be highly appreciated.
Thanks a lot for your efforts
(on line 75 "dp = sum( normal(:,E(:,1)) .* normal(:,E(:,2)), 1 );")
Hi, good Tool but i get an Error:
"Error using uiextras.MousePointerHandler/onMouseMoved
Cannot access method 'onMouseMoved' in class
Error while evaluating figure WindowButtonMotionFcn"
while I do some Figure handling in a loop one the time i hover over my GUI
We used MATLAB and an Arduino UNO (Ruggediuno) for our process control lab starting in 2013. We built 40 lab kits for ~$50 each and distributed them to students. Below is a link to our source code for the lab.
The lab is featured in the December issue of CACHE news. The article includes a number of lessons learned with regards to improving student experience. It was a positive experience the second year (2014) after we worked out some important details.
We're interested in continuing to improve the Arduino lab. Please contact me with any suggestions on additional modules related to Process Dynamics and Control: firstname.lastname@example.org.