Page 2 of 2

Posted: Thu Sep 29, 2011 12:36 pm
by freeski27
Haven't explored past the variables file yet, but psyched to explore this work. Will keep you updated on what I find/think.

ps - to your question gardner... I am a Naval Architect. Engineer schooled in mechanical, structural, electrical, and marine engineering.

Posted: Thu Sep 29, 2011 1:11 pm
by freeski27
Running into an error in the 3d plot of the ski? Line 37...


Error in ==> plotski3D at 37
ThreeD2 = [xplotzero; yplot; hp(2:end-1)];


Maybe I made a mistake in the profile? It seems right to me though...

%% Profile variables:
%------------------------------------------------------------------------
H = [3 3 7 7 3 3 ];
pos = [0 170 470 1270 1570 1740];



It's clearly something in my variables file though because I can run it with the one that was in the folder to begin with...

Posted: Mon Oct 03, 2011 1:59 am
by Buuk
Were this the only variables you changed??

Please let me know, then I will try to run it on my computer.

Regards,
Buuk

Posted: Tue Oct 04, 2011 5:52 am
by Buuk
Aha, found the problem...


-------------------------------------------------------------------------
In the file skivariables.m change:
line 9 -- L = 1740; % total ski length (mm)

and the use profile variables:
H = [3 3 7 7 3 3];
pos = [0 170 470 1270 1570 L];

and

In the file plotski3D.m change line 37
from:
ThreeD2 = [xplotzero; yplot; hp(2:end-1)];

to:
ThreeD2 = [xplotzero; yplot; hp];
-------------------------------------------------------------------------


Let me know if this works for you!


Sorry for the poor coding... never found some spare time to rewrite it...

Cheers, Buuk

Posted: Tue Oct 04, 2011 7:57 pm
by freeski27
will check it out soon and let you know! And any coding I don't have to write is good coding!