Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Handling of time
Topic: Time as numerical output
See also: nyear nmonth ndayofweek nhour nminute nsecond

Function: ndayofmonth
Description: returns the day of the month as a number (1-31)

Usage: tn = ndayofmonth(t)
Input:
t n x 1 time vector
Output:
tn n x 1 array

Example:
yr = 1970 +(1:10)
t  = settime(yr)
ts = ndayofmonth(t)
ts

Result:
Contents of ts

[ 1,]        1
[ 2,]        1
[ 3,]        1
[ 4,]        1
[ 5,]        1
[ 6,]        1
[ 7,]        1
[ 8,]        1
[ 9,]        1
[10,]        1



(C) MD*TECH Method and Data Technologies, 05.02.2006