필터 지우기
필터 지우기

Dot indexing is not supported for variables of this type.

조회 수: 2 (최근 30일)
Ryan
Ryan 2022년 9월 27일
답변: Image Analyst 2022년 9월 27일
When I am running my code, I get a response that a built-in with syms is not running correctly.
syms F D l t w
% Stress
n_stress = F./(t.*w);
u_nstress = sqrt((diff(n_stress,F).*u_f).^2+(diff(n_stress,t).u_c).^2+(diff(n_stress,w).*u_c).^2)
Unrecognized function or variable 'u_f'.
Dot indexing is not supported for variables of this type.
Error in sym/subsref (line 909)
R_tilde = builtin('subsref',L_tilde,Idx);
Error in Carbon90 (line 29)
  댓글 수: 1
Ryan
Ryan 2022년 9월 27일
u_f and other functions are defined above I just did not include them.

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

답변 (1개)

Image Analyst
Image Analyst 2022년 9월 27일
diff(n_stress,t) is a vector. It does not have a u_c field. Perhaps you meant
diff(n_stress,t) .* u_c

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by