# hicd

Modified Head Injury Criterion used to measure potential for head injury.

## Syntax

[x,y] = hicd(time, accel, window, mode=0)

x = hicd(time, accel, window, mode=1)

y = hicd(time, accel, window, mode=2)

w = hicd(time, accel, window, mode=3)

## Inputs

`time`- The time vector of data to analyze (in seconds).
`accel`- The head acceleration vector, equal in length to the
`time`vector. `window`- The window width (in seconds).
`mode`-
- 0
- Output the hicd window x,y vectors.
- 1
- Output the hicd window x vector.
- 2
- Output the hicd window y vector.
- 3
- Output the height of the hicd window, and its left and right end points as a single vector.

## Outputs

- x
- The x coordinates of the hicd window.
- y
- The y coordinates of the hicd window.
- w
- The height of the hicd window, and its left and right end points.

## Example

Find the hicd window dimensions associated with a pair of time and acceleration vectors:

```
t = [0: 0.0001: 0.050];
accel = sin(20 * pi * t);
w = hicd(t, accel, 0.036, 3)
```

```
w = [Matrix] 1 x 3
166.41564 0.00820 0.04180
```