Skip to content

Commit

Permalink
Function updated to be case-insensitive.
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaskis committed Jul 9, 2021
1 parent c2ae2d7 commit 93b8d62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c2d_euler.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
%
% Copyright © 2021 Tamas Kis
% Contact: [email protected]
% Last Update: 2021-07-05
% Last Update: 2021-07-09
%
%--------------------------------------------------------------------------
%
Expand Down Expand Up @@ -41,7 +41,7 @@
z = sym('z');

% specified Euler approximation of s
if strcmp(type,'backward')
if strcmpi(type,'backward')
s = (z-1)/(T*z);
else
s = (z-1)/T;
Expand Down

0 comments on commit 93b8d62

Please sign in to comment.