일반적으로 log 라 하면 밑이 10인 log10 으로 사용되지만
Matlab 에서는 다름을 주의!
log(X) ~ the natural logarithm of the elements of X (밑이 e 인 자연로그)
log10(X) ~ the base 10 logarithm of the elements of X (밑이 10 인 상용로그)
ex) log(2) -> ans = 0.6931
log10(2) -> ans = 0.3010
'[old 정리중] study > matlab' 카테고리의 다른 글
dot ( dot(A,B) ) (0) | 2011.06.21 |
---|---|
sum ( sum(X) , sum(X,DIM) ) (0) | 2011.06.21 |
matlab 코드 수행시간 측정 (1) | 2011.05.19 |
두개의 transfer fucntion 합치기 - series (0) | 2011.04.19 |
transfer function 표현 - tf / tfdata (0) | 2011.04.19 |