Skip to content

Commit f59826e

Browse files
authored
Update README.md
1 parent 097c912 commit f59826e

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
1-
# c2d_euler
2-
Transforms a continuous transfer function to a discrete transfer function using the Euler (i.e. forward difference) method.
1+
# `c2d_euler`
2+
3+
Transforms a continuous transfer function to a discrete transfer function using the forward and backward Euler methods.
4+
5+
6+
7+
## Syntax
8+
9+
`Hz = c2d_euler(Hs,T,'forward')` \
10+
`Hz = c2d_euler(Hs,T,'backward')`
11+
12+
13+
## Description
14+
15+
`Hz = c2d_euler(Hs,T,'forward')` returns the discrete transfer function `Hz` obtained by applying the forward Euler (i.e. forward difference) transformation to a continuous transfer function `Hs`, where `T` is the sampling period.
16+
17+
`Hz = c2d_euler(Hs,T,'backward')` returns the discrete transfer function `Hz` obtained by applying the backward Euler (i.e. backward difference) transformation to a continuous transfer function `Hs`, where `T` is the sampling period.
18+
19+
20+
## Additional Documentation and Examples
21+
22+
See "DOCUMENTATION.pdf" for additional documentation and examples.

0 commit comments

Comments
 (0)