Rank: 2304 based on 50 downloads (last 30 days) and 4 files submitted
photo

Yo Fukushima

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Yo Fukushima View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
24 Mar 2005 Screenshot planenormvec Calculate the normal vector of a plane in 3D that contains three points. Author: Yo Fukushima plane, normal, vector, mathematics, general 4 1
  • 2.0
2.0 | 1 rating
24 Mar 2005 Screenshot SIMPGDSEARCH Multi-dimensional unconstrained nonlinear minimization using grid search + Simplex method. Author: Yo Fukushima optimization, simplex, grid, search, optimisation, fminsearch 7 3
24 Mar 2005 Screenshot curvspace Generate evenly spaced points along an existing curve in 2D or 3D. Author: Yo Fukushima approximation, interpolation, linspace, point, interp 25 9
  • 5.0
5.0 | 8 ratings
18 Mar 2005 Screenshot usercolormap usercolormap lets you create your own colormap in a simple way. Intensity scale can be respected. Author: Yo Fukushima annotation, customization, colormap, colors, vectors, graphics 14 7
  • 4.25
4.2 | 8 ratings
Comments and Ratings on Yo Fukushima's Files View all
Updated File Comment by Comments Rating
20 Dec 2013 curvspace Generate evenly spaced points along an existing curve in 2D or 3D. Author: Yo Fukushima Francesca

This function is very good! You solved me a very big problem! Thank you!

10 Aug 2013 curvspace Generate evenly spaced points along an existing curve in 2D or 3D. Author: Yo Fukushima John D'Errico

Not vectorized, and purely linear interpolation. Better is my own interparc, also here on the fex.

http://www.mathworks.com/matlabcentral/fileexchange/34874-interparc

For example, given 4 points around a circle, try this:

t = linspace(0,2*pi,5)';
xy = [cos(t),sin(t)];

tic,xyi = interparc(100,xy(:,1),xy(:,2),'lin');toc
Elapsed time is 0.001540 seconds.

tic,xyc = curvspace(xy,100);toc
Elapsed time is 0.004692 seconds.

So the unvectorized code is slower. And if we plot the points, we see a diamond results, thus connect the dots interpolation.

plot(xyc(:,1),xyc(:,2),'b-')

You can use interparc to get a nice smooth curve instead. Of course, it will be slower, since it is actually finding the true distance along the interpolated spline curve.

xyi = interparc(100,xy(:,1),xy(:,2),'cs');
plot(xyi(:,1),xyi(:,2),'b-')

The help is good enough, and I see plentiful internal comments, so well done there. The code is reasonable, although a bit loopy.

10 Aug 2013 curvspace Generate evenly spaced points along an existing curve in 2D or 3D. Author: Yo Fukushima ted p teng

16 Aug 2012 usercolormap usercolormap lets you create your own colormap in a simple way. Intensity scale can be respected. Author: Yo Fukushima maryline bawedin

Problem with the intensity factor. Produce negative values inside the colormap.
Tried with the following example:
color1 = [1 1 0.7];
color2 = [1 0.8 0];
color3 = [1 0 0];
color4 = [0.4 0 0];
TestMap=usercolormap(color1,color2,color3,color4,1.2)

05 Apr 2012 SIMPGDSEARCH Multi-dimensional unconstrained nonlinear minimization using grid search + Simplex method. Author: Yo Fukushima Nikki

SETPROD can be found here http://www.mathworks.com/matlabcentral/fileexchange/5898. Many thanks to the author of simpgdsearch. It is really useful. Cheers!

Contact us