Filter löschen
Filter löschen

Dot indexing is not supported for variables of this type.

2 Ansichten (letzte 30 Tage)
Ryan
Ryan am 27 Sep. 2022
Beantwortet: Image Analyst am 27 Sep. 2022
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 Kommentar
Ryan
Ryan am 27 Sep. 2022
u_f and other functions are defined above I just did not include them.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by