I have to partial differenciate this formel :
Skript : ----------------------------------------------------
a0 = 0.0008; %Kerbtiefe
W = 4 *10^-3; %Höhe der Probe
Si = 2*10^-2; %innere Abstand Belastungsrollen
So = 4*10^-2; %äussere Abstans Belastungsrollen
a1 = 3.8*10^-3; %Kerblänge
Pmax = 50; %maximale Kraft
B = 3*10^-3; %Breite der Probe
% Formfaktor Y
Y = ((3.08 + 5.00*(a0/W)+8.33*(a0/W)^2)*(1+0.007*((Si*So)/W^2)^0.5)*((a1/W-a0/W)/(1-a0/W)));
%Formula
K1c = (((3.08 + 5.00*(a0/W)+8.33*(a0/W)^2)*(1+0.007*((Si*So)/W^2)^0.5)*((a1/W-a0/W)/(1-a0/W)))*((Pmax*(So-Si))/(B*W^(3/2)))) / (1*10^6);
---------------------------------------------------------------------------------------------------------- So now, I need to differenciate this formula like : diff(K1c, a0) diff(K1c, W) etc.
But it doesn't work ... :(

댓글 수: 1

This is the message I become:
"Error using diff
Difference order N must be a positive integer scalar."

댓글을 달려면 로그인하십시오.

 채택된 답변

Torsten
Torsten 2016년 7월 4일

0 개 추천

You will have to declare K1c,a0 and W as "syms" :
Best wishes
Torsten.

댓글 수: 1

Lise
Lise 2016년 7월 4일
Many Thanks ... I already tried it.. but i'll do it again :)
best regards Lise

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Instrument Control Toolbox에 대해 자세히 알아보기

질문:

2016년 7월 3일

댓글:

2016년 7월 4일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by