'아무거나' 카테고리의 다른 글
야구9단 월드 리그 (1) | 2015.06.14 |
---|---|
wget 원도우용 (GNU Wget) (0) | 2015.06.09 |
(엑셀) COUNTIF()를 이용한 검색 (0) | 2015.02.16 |
엑셀 2010에서 비밀번호 설정하기 (0) | 2015.02.16 |
[2014년 연말 정산] 본인 추가공제율사용분 정확하게 작성하기 (1) | 2015.01.23 |
야구9단 월드 리그 (1) | 2015.06.14 |
---|---|
wget 원도우용 (GNU Wget) (0) | 2015.06.09 |
(엑셀) COUNTIF()를 이용한 검색 (0) | 2015.02.16 |
엑셀 2010에서 비밀번호 설정하기 (0) | 2015.02.16 |
[2014년 연말 정산] 본인 추가공제율사용분 정확하게 작성하기 (1) | 2015.01.23 |
Java의 정규표현식에서 \와 $ 사용할 때, 오류 발생할 수 있습니다.
이런 문제점을 보완하기 위해서는 quoteReplacement()를 사용할 수 있습니다.
예제1: test.replaceAll(Matcher.quoteReplacement("\\"), "/");
예제2: test.replaceAll("/", Matcher.quoteReplacement("\\"));
[출처] 정규표현식 replace("\", "/") 오류|작성자 미나미
public static String quoteReplacement(String s)
String
for the specified String
. This method produces a String
that will work as a literal replacement s
in the appendReplacement
method of the Matcher
class. The String
produced will match the sequence of characters in s
treated as a literal sequence. Slashes ('\') and dollar signs ('$') will be given no special meaning.s
- The string to be literalizedCMD창 CodePage default 값 설정. (0) | 2015.04.23 |
---|---|
CMD 창에서 code page 바꾸기 (0) | 2015.04.23 |
Ant Build에서 한글 포함 에러 지원하기. (0) | 2014.06.10 |
Beyond Compare2 Viewer Plug-in (0) | 2014.06.10 |
Build Error: gen already exists but is not a source folder. ... (0) | 2014.05.29 |
In mathematics, the root mean square (abbreviated RMS or rms), also known as the quadratic mean, is a statistical measure of the magnitude of a varying quantity. It is especially useful when variates are positive and negative, e.g., sinusoids. In the field of electrical engineering, the effective (RMS) value of a periodic current is equal to the DC voltage that delivers the same average power to a resistor as the periodic current.[1]
It can be calculated for a series of discrete values or for a continuously varying function. Its name comes from its definition as the square root of the meanof the squares of the values. It is a special case of the generalized mean with the exponent p = 2.
The RMS value of a set of values (or a continuous-time waveform) is the square root of the arithmetic mean (average) of the squares of the original values (or the square of the function that defines the continuous waveform).
In the case of a set of n values , the RMS
The corresponding formula for a continuous function (or waveform) f(t) defined over the interval is
and the RMS for a function over all time is
The RMS over all time of a periodic function is equal to the RMS of one period of the function. The RMS value of a continuous function or signal can be approximated by taking the RMS of a series of equally spaced samples. Additionally, the RMS value of various waveforms can also be determined withoutcalculus, as shown by Cartwright.[2]
In the case of the RMS statistic of a random process, the expected value is used instead of the mean.
파스칼 (단위) (0) | 2015.07.09 |
---|---|
롬바드 효과 (Lombard Effect) (0) | 2015.06.18 |
Equal-loudness contour (등청감 곡선) (0) | 2014.06.18 |
Absolute threshold of hearing (최소 가청값, 최소 가청치) (0) | 2014.06.18 |
Sound Pressure Level (SPL) (0) | 2014.06.18 |