Sie sind auf Seite 1von 2

) function [ Dsh_new ] = shaft_new( Dsh

Calculate the diameter of the Shaft according to the ISO %


Standerd

ALL Dimension are in " mm " and different steps %

using If statment to select the diameter of the shaft by %


comparing it to
the calculated one%

3+ %
if Dsh <=3
;Dsh_new = 3
elseif Dsh >3 && Dsh<=6
;Dsh_new =6

went +4%

)elseif(Dsh >6 && Dsh<=10


;Dsh_new = 10

went +8%

)elseif(Dsh >10 && Dsh <=18


;Dsh_new =18
)elseif(Dsh >18 && Dsh <=30
;Dsh_new =30
)elseif(Dsh >30 && Dsh<=40
;Dsh_new = 40

went +15%

)elseif(Dsh >50 && Dsh<=65


;Dsh_new = 65
)elseif(Dsh >65 && Dsh<=80
;Dsh_new =80

went +20%

)elseif(Dsh >80 && Dsh <=100


;Dsh_new = 100
)elseif(Dsh >100 && Dsh <=120
;Dsh_new =120
)elseif(Dsh >120 && Dsh <= 140
;Dsh_new =140
)elseif(Dsh >140 && Dsh <= 160
;Dsh_new = 160
)elseif(Dsh >160 && Dsh <= 180
;Dsh_new = 180
)elseif(Dsh >180 && Dsh <= 200
;Dsh_new =200

went +25%

)elseif(Dsh >225 && Dsh <= 250


;Dsh_new =250
went +30%

)elseif(Dsh >250 && Dsh <= 280


;Dsh_new = 280

went +35%

)elseif(Dsh >280 && Dsh <= 315


;Dsh_new =315

went +40%

)elseif(Dsh >315 && Dsh <=355


;Dsh_new = 355

end %End of If statement

end

Das könnte Ihnen auch gefallen