MatLab ski calculation

For discussions related to ski/snowboard construction/design methods and techniques.

Moderators: Head Monkey, kelvin, bigKam, skidesmond, chrismp

freeski27
Posts: 7
Joined: Thu Sep 29, 2011 6:22 am

Post 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.
freeski27
Posts: 7
Joined: Thu Sep 29, 2011 6:22 am

Post 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...
Buuk
Posts: 150
Joined: Wed Apr 26, 2006 2:49 am
Location: The Netherlands

Post 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
Make things as simple as possible, but not too simple
Buuk
Posts: 150
Joined: Wed Apr 26, 2006 2:49 am
Location: The Netherlands

Post 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
Make things as simple as possible, but not too simple
freeski27
Posts: 7
Joined: Thu Sep 29, 2011 6:22 am

Post by freeski27 »

will check it out soon and let you know! And any coding I don't have to write is good coding!
Post Reply