How to use the factorial function in Matlab
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Nghia
am 25 Dez. 2013
Beantwortet: Walter Roberson
am 25 Dez. 2013
Hi everybody, I have a problem with Factorial function.
I wrote:
syms x
f= factorial(x)
....
(I want to calculate the limit of some function...)
Immediately, Matlab annouce: "??? Error using ==> factorial at 17 N must be a matrix of non-negative integers."
How can I fix this error? I want to calcualate the limit of y=f(x)=9^x/(x!)
Thanks.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Calculus finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!