Skip to content

Commit d1dff10

Browse files
committed
Updated function header and documentation.
1 parent 93b8d62 commit d1dff10

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

DOCUMENTATION.pdf renamed to Continuous_to_Discrete_Transfer_Function_Transformation_Using_the_Euler_Methods.pdf

174 KB
Binary file not shown.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ Transforms a continuous transfer function to a discrete transfer function using
2020
## Examples and Additional Documentation
2121

2222
- See "EXAMPLES.mlx" or the "Examples" tab on the File Exchange page for examples.
23-
- See "DOCUMENTATION.pdf" (included with download, also available at https://github.com/tamaskis/c2d_euler-MATLAB/blob/main/DOCUMENTATION.pdf) for additional documentation.
23+
- See ["Continuous_to_Discrete_Transfer_Function_Transformation_Using_the_Euler_Methods.pdf"](https://tamaskis.github.io/documentation/Continuous_to_Discrete_Transfer_Function_Transformation_Using_the_Euler_Methods.pdf) (also included with download) for the technical documentation.

c2d_euler.m

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,26 @@
99
% See also c2d.
1010
%
1111
% Copyright © 2021 Tamas Kis
12+
% Last Update: 2021-08-24
13+
% Website: tamaskis.github.io
1214
% Contact: tamas.a.kis@outlook.com
13-
% Last Update: 2021-07-09
1415
%
15-
%--------------------------------------------------------------------------
16-
%
17-
% MATLAB Central File Exchange: https://www.mathworks.com/matlabcentral/fileexchange/90267-euler-c2d-transformation-c2d_euler
18-
% GitHub: https://github.com/tamaskis/c2d_euler-MATLAB
16+
% TECHNICAL DOCUMENTATION:
17+
% https://tamaskis.github.io/documentation/Continuous_to_Discrete_Transfer_Function_Transformation_Using_the_Euler_Methods.pdf
1918
%
20-
% See EXAMPLES.mlx for examples and "DOCUMENTATION.pdf" for additional
21-
% documentation. Both of these files are included with the download.
19+
% REFERENCES:
20+
% [1] Franklin et. al., "Digital Control of Dynamic Systems", 3rd Ed.
21+
% [2] https://www.mathworks.com/matlabcentral/answers/96275-how-can-i-convert-a-transfer-function-object-from-the-control-system-toolbox-into-a-symbolic-object
22+
% [3] https://gist.github.com/maruta/1035254
23+
% [4] https://www.mathworks.com/matlabcentral/fileexchange/27302-syms-to-tf-conversion
2224
%
2325
%--------------------------------------------------------------------------
2426
%
2527
% ------
2628
% INPUT:
2729
% ------
2830
% Hs - (tf) continous transfer function
29-
% T - (1×1) sampling period
31+
% T - (1×1 double) sampling period
3032
% type - (char) 'forward' or 'backward'
3133
%
3234
% -------

0 commit comments

Comments
 (0)