I have to write this function.
f(0)= 4(0)! (1103+26390(0))/ (0!)^(4)396^(4)(0)
and that's how i wrote it
f(0)= [4* factorial(0)(1103+26390*0)]/[factorial(0)^(4)*396^(4)]
but it keep showing this error
()-indexing must appear last in an index expression.

 채택된 답변

Walter Roberson
Walter Roberson 2018년 2월 10일

0 개 추천

f = @(x) 4 * factorial(x) .* (1103+26390*x) ./ (factorial(x).^(4).*396.^(4));

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Geology에 대해 자세히 알아보기

태그

질문:

2018년 2월 10일

답변:

2018년 2월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by