Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

log1p

Compute log(1+x) accurately for small values of x

Syntax

y = log1p(x)

Description

y = log1p(x) computes log(1+x), compensating for the roundoff in 1+x. log1p(x) is more accurate than log(1+x) for small values of x. For small x, log1p(x) is approximately x, whereas log(1+x) can be zero.

More About

collapse all

Tall Array Support

This function fully supports tall arrays. For more information, see Tall Arrays.

See Also

|

Introduced before R2006a

Was this topic helpful?