Date  File  Comment by  Comment  Rating 

19 Mar 2015  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Andrei  
08 Feb 2015  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Thomas Hedges  Alan, I agree with the other comments. Very nice function. Could you also send me the mentioned reference papers. Regards Tom tmhedges@gmail.com 

10 Jan 2015  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Torsten Löbrich  Dear Alan,


29 Dec 2014  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Navy  
29 Dec 2014  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Navy  That's just what I need. 

14 Oct 2014  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Kao  Dear Alan,
Many thanks 

14 Oct 2014  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Kao  
15 Sep 2014  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Casey  
07 Sep 2014  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Pierrick Bersier  
14 Aug 2014  Create Video of Rotating 3D Plot Specify a set of view angles and this function creates a video for use in presentations.  Casey  
25 May 2014  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  li  good work! 

20 May 2014  Create Video of Rotating 3D Plot Specify a set of view angles and this function creates a video for use in presentations.  Lazaros Moysis  Thanks for your reply! that helped me for sure! Changing the rating to 5. 

19 May 2014  Create Video of Rotating 3D Plot Specify a set of view angles and this function creates a video for use in presentations.  Alan Jennings  Glad it helped Lazaros!


16 May 2014  Create Video of Rotating 3D Plot Specify a set of view angles and this function creates a video for use in presentations.  Lazaros Moysis  Can you specify the size of the video to upgrade the quality and make it better looking? 

11 Mar 2014  Create Video of Rotating 3D Plot Specify a set of view angles and this function creates a video for use in presentations.  Lilian  Hi, Can you help me transform this function
end end surfc(z)
I do not understand how can I rotate my graph drawing function. Thank you !!! :) 

10 Mar 2014  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Patrick  Dear Alan,


25 Feb 2014  Gradient from Neural Network Function that takes a NN and creates a new NN that gives the gradient.  Gurpreet` Gosal  Hi Alan, I am working with 2013 and I modified 'tansig.m' with its derivative as d= 1a.*a


23 Jan 2014  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Sa  Dear Alan,


27 Oct 2013  Inverse Optimal Functions for Motoman HP3 Tip Precision A population based optimization increases pointing precision for a planar robotic arm.  Masoud Ghanbari  
04 Sep 2013  Create Video of Rotating 3D Plot Specify a set of view angles and this function creates a video for use in presentations.  Christian Jensen  If I don't include (...,'FaceLighting','phong')


30 Jun 2013  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Farsat Balata  Dear Alan, could you please, explain more about the two vectors A and B. I don't understand the rationality of Error function you defined as sum((xxc)^2+(yyc)^2+(zzc)^2r^2)^2,. Is the initial sphere center is taken for partial of the error of each parameter for example xc= mean(x), yc=mean (y) and zc= mean (z) and the function E = sum((ximean(x))^2+(ymean(y))^2+(zmean(z))^2r^2)^2 and then, minimze the function E. many thanks 

30 Jun 2013  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Farsat Balata  Dear Alan, pointing to my previous comment, I have just want to correct the equation


06 May 2013  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Farsat Balata  Hi Alan,


04 Apr 2013  Create Video of Rotating 3D Plot Specify a set of view angles and this function creates a video for use in presentations.  arnold  Thanks! A couple of bugs/ideas: 1. You should make it an option to fix the "zoom pumping", maybe it is the camera position, that rotation the plot under a larger elevation (say 45°) does not cause the plot to zoom in and out in every quadrant while rotating. Try this to see what I mean: CaptureFigVid([0,45;359,45], 'WellMadeVid',OptionZ) Just as an example, this file solves this quite nicely
2. spacing the view angles makes sense, but I don't get why I can only specify two view angle pairs. In line 89 you limit this. Why not make it dependent on OptionZ.Periodic? 3. OptionZ.Periodic=true still causes a nonsmooth jump when looping the video. Don't know why this is exactly 4. Add export for an animated gif instead of mp4. How to write one can be seen here:


04 Apr 2013  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  JamesAb  Hi Alan. Great code! I really appreciate if you could send me the related paper describing the method: jamesabott@yahoo.com Many thanks! 

26 Mar 2013  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Simao  Hi Alan. Great work! can you please send me the relating papers? simao.britodaluz@griffithuni.edu.au much appreciated 

11 Mar 2013  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Chloe  Hi Alan, any chance you could please send me the relating papers to c.carson@ncl.ac.uk? Thanks for the code. Works perfect! 

19 Feb 2013  Furuta (rotary) Pendulum Equations of motion for a pendulum mounted on rotating base are compared to SimMechanics.  faisal  very good 

22 Jan 2013  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Laurens  Works great! I was wondering if you could send me the paper as well (email: laurens.slot@gmail.com). Also, how would this look if the radius was known? 

19 Dec 2012  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  luo  Dear Alan, can you send me the related papers? You know, I don't understand the rationality of Error function you defined as sum((xxc)^2+(yyc)^2+(zzc)^2r^2)^2, since I thought it was supposed to be sum(sqrt((xxc)^2+(yyc)^2+(zzc)^2)r)^2. My email: lhwsky@mail.ustc.edu.cn. many thanks 

15 Oct 2012  Control optimization of a 4DOF arm using DIDO 4 DOF arm imported via SimMechanics generates dynamics for optimal pickplace control solved by DIDO  William  Very good. It seems that the file "Arm_4DOF_Feedback_1b.mdl" was missing. 

27 Aug 2012  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Daniel Lopes  Great piece of code! 

10 Jun 2012  Control optimization of a 4DOF arm using DIDO 4 DOF arm imported via SimMechanics generates dynamics for optimal pickplace control solved by DIDO  cancan  Bravo 

03 Apr 2012  Furuta (rotary) Pendulum Equations of motion for a pendulum mounted on rotating base are compared to SimMechanics.  ERIC  
13 Mar 2012  Sphere Fit (least squared) Fits a sphere to a set of noisy data. Does not require a wide arc or many points.  Tim  works great for my task, and thank you for sending me the related papers! :) 

22 Apr 2011  Gradient from Neural Network Function that takes a NN and creates a new NN that gives the gradient.  duc  i want to download it 

10 Nov 2010  Gradient from Neural Network Function that takes a NN and creates a new NN that gives the gradient.  Alan Jennings  This needs a change to work with 2010 (when you change the size of the output, the weights change differently then before), I've done it and will get it in here soon. Again, Please let me know if this has helped you. 

09 Aug 2010  Gradient from Neural Network Function that takes a NN and creates a new NN that gives the gradient.  Alan Jennings  Let me know if a Hessian would be helpful. I'm sure it could be done, but I'm wondering if there's interest. 
