Unrecognized function or variable 'fact2'. Error in clc_Statis (line 268) Ag(p) = A1*fact2(2*p-1)^(1/p);
1 view (last 30 days)
Show older comments
I have this problem occuring while run the code for graph.
2 Comments
Torsten
on 10 Jul 2025
I can only repeat what MATLAB says: The variable or function "fact2" used in the definition for Ag(p) cannot be found in your code.
Walter Roberson
on 10 Jul 2025
fact2 is not part of the Symbolic Math Toolbox.
fact2() is not defined by any Mathworks toolbox (unless it is perhaps undocumented.)
There is a definition for fact2() at https://www.mathworks.com/matlabcentral/answers/377156-error-when-using-symsum-in-function-declaration
Answers (0)
See Also
Categories
Find more on Graphics Object Properties in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!