Documentation Center

  • Trial Software
  • Product Updates

freqnum

Convert string frequency indicator to numeric frequency indicator

Syntax

nfreq = freqnum(sfreq)

Arguments

sfreq

UNKNOWN, Unknown, unknown, U, u

DAILY, Daily, daily, D, d

WEEKLY, Weekly, weekly, W, w

MONTHLY, Monthly, monthly, M, m

QUARTERLY, Quarterly, quarterly, Q, q

SEMIANNUAL, Semiannual, semiannual, S, s

ANNUAL, Annual, annual, A, a

Description

nfreq = freqnum(sfreq) converts a string frequency indicator into a numeric value.

String Frequency Indicator

Numeric Representation

UNKNOWN, Unknown, unknown, U, u

0

DAILY, Daily, daily, D, d

1

WEEKLY, Weekly, weekly, W, w

2

MONTHLY, Monthly, monthly, M, m

3

QUARTERLY, Quarterly, quarterly, Q, q

4

SEMIANNUAL, Semiannual, semiannual, S, s

5

ANNUAL, Annual, annual, A, a

6

See Also

Was this topic helpful?