Rank: 256086 based on 0 downloads (last 30 days) and 0 file submitted
photo

MAK P

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by MAK P
Updated File Comments Rating
01 Jul 2013 NURBS Converted NURBS toolbox Author: Daniel Claxton

TCH Sven and Matthew, The Knot vector should have the property that if the NURB is of order n then the 1st n+1 should be 0 and the last n+1 should be 1.0

I am trying to implement using the cartesian coordinate as the control points and i am also facing the same problem of infinite loop
here is my code
x and y are control points
u = [0.0,0.0,0.0,0.0,0.10,.20,.30,.40,.50,.60,.70,.80,.90,1.0,1.0,1.0,1.0];
crv = nrbmak([x';y'],u);
plot(crv.coefs(1,:),crv.coefs(2,:),'bo')
title('Degree elevation of test curve by 1');
hold on;
plot(crv.coefs(1,:),crv.coefs(2,:),'b--');

% draw nurbs curve
nrbplot(crv,48);

Will be glad to see a quick response

Contact us