I decided to write my problem and attach as a separate document so that everything was included and would leave room here to discuss my problem.(adsbygoogle = window.adsbygoogle || []).push({});

From what I understand from the equations is that for each value of u I calculate the value of the basis function for each basis function i. Then this is multiplied by the control point. This is done for each order k. The thing that I don't understand is that how can I pull this off if u is the inner most loop? I'm not sure the proper placement of the blending function P(u).

Could someone take a look at my code and logic and see if there is another way of doing this or shoot me some pointers? It would be greatly appreciated.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Programming B-spline curve in Matlab from scratch

Loading...

Similar Threads - Programming spline curve | Date |
---|---|

Programming succesive trapezoidal integrator | Friday at 3:38 PM |

What should be the rules to write excellent code? | Monday at 1:02 PM |

What should I know before taking Parallel Programming? | Mar 11, 2018 |

What is each step of this Matlab program doing? | Feb 21, 2018 |

Testing my B-spline surface function | Feb 19, 2012 |

**Physics Forums - The Fusion of Science and Community**