% AT STEP 547: CALCULATES SISO FIR MODEL FOR CV DevSTPBCA FROM MV/DV 22XIC0518SP

% MATLAB SCRIPT STARTS .......

FIR_DevSTPBCA_22XIC0518SP_uraw = [127 127 127 127 127 127 127 127 127 127 127 127 127 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 ]';
FIR_DevSTPBCA_22XIC0518SP_yraw = [0.270766 0.270143 0.269672 0.26915 0.268709 0.268375 0.268056 0.267747 0.267413 0.267101 0.266806 0.266575 0.266395 0.224622 0.111934 -0.110478 -0.0655911 -0.00287729 0.105659 0.170525 0.209911 0.241161 0.270835 0.290369 0.300002 0.304014 0.307775 0.30626 0.304763 0.305486 0.308481 0.312051 0.312922 0.313268 0.313126 0.311326 0.308126 0.304159 0.300553 0.297828 0.29585 0.294365 0.292957 0.29195 0.290988 0.290207 0.289246 0.288298 0.287669 0.286428 0.28561 0.284836 0.284382 0.28401 0.283799 0.283703 0.283654 0.245122 0.203885 0.170514 0.161576 0.176309 0.208557 0.235061 0.265253 0.279707 0.284142 0.280898 0.27643 0.273985 0.276123 0.278203 0.281531 0.285338 0.28854 0.290367 0.291772 0.292795 0.292962 0.292446 0.291552 0.290397 0.234557 0.11962 -0.0859237 -0.0506745 0.0236373 0.0934654 0.161049 0.212245 0.259182 0.287466 0.303697 0.309848 0.309076 0.301195 0.290463 0.279267 0.262343 0.243418 0.217838 0.180069 0.128214 0.0726104 0.0148816 -0.0432979 -0.0835156 -0.0821725 -0.0786446 -0.0938118 -0.100298 -0.0786216 -0.0774499 -0.0884605 -0.0676921 -0.106825 -0.102312 -0.0998919 -0.0826411 0.0245426 0.0277434 0.0277996 0.0289033 0.0321875 0.0353161 0.0348311 0.0295247 0.0232421 0.0201455 0.020174 0.0231178 0.0289927 0.0352616 0.0410991 0.0455504 0.045607 0.0445759 0.0435624 0.0437854 0.0524579 0.0590447 0.0417508 0.0225859 0.00935986 0.00508682 0.00633432 0.00814413 0.0135381 0.0174325 0.018526 0.0173931 0.0125353 0.00541995 -0.00134577 -0.00807862 -0.0149359 -0.0221409 -0.0262014 -0.0263934 -0.0183481 -0.0158204 -0.0151341 -0.013699 -0.0117116 -0.00958361 -0.00769479 -0.00500048 -0.00272855 -0.000155696 0.0026174 0.00522979 0.00866815 0.0109863 0.0136706 0.0158863 0.0176345 0.0195872 0.0209722 0.0217888 0.0219629 0.0220169 0.0216435 0.0209307 0.020094 0.0195617 0.0192761 0.0191818 0.0189689 0.0185701 0.0180559 0.0175049 0.0169442 0.0164085 0.0160539 0.0156689 0.0150873 0.014326 0.0135615 0.0131258 0.0126881 0.0123674 0.0121027 0.0118768 0.0117699 0.0119335 0.0116553 0.00949752 0.00426219 -0.000924901 -0.00766616 -0.0131534 -0.0193787 -0.0207472 -0.0190812 -0.0159172 -0.0121289 -0.00994438 -0.00851677 -0.00839587 -0.00823274 -0.00800247 -0.00606175 -0.00111446 0.00410292 0.00919125 0.0135722 0.0172962 0.0192523 0.0208168 0.0214278 0.0213736 0.0203739 0.0184373 0.015907 0.0135444 0.0115025 0.00825405 0.00383541 0.000731243 -0.00228714 -0.00625133 -0.00903902 -0.0120258 -0.0137623 -0.0156642 -0.0174913 -0.0192417 -0.0198692 -0.0203545 -0.0202712 -0.0198066 -0.0193185 -0.0199672 -0.0204268 -0.020642 -0.0207714 -0.0200024 -0.0199445 -0.0204607 -0.0208258 -0.0208665 -0.0218105 -0.0215271 -0.0215279 -0.0217982 -0.0217509 -0.0216951 -0.0212021 -0.0206433 -0.0201356 -0.0205821 -0.0208828 -0.0205469 -0.0202965 -0.0202748 -0.020956 -0.0209655 -0.0208182 -0.0209498 -0.022 -0.0216228 -0.02086 -0.020825 -0.0209042 -0.0208257 -0.0199687 -0.0186951 -0.0186066 -0.0193922 -0.0200941 -0.0206275 -0.020254 -0.0198719 -0.019473 -0.0196655 -0.0196076 -0.0193061 -0.0197971 -0.0201933 -0.0201861 -0.0201883 -0.0197364 -0.0195097 -0.0200553 -0.0204789 -0.0200624 -0.0194903 -0.0197568 -0.0205824 -0.0211481 -0.0215917 -0.0212919 -0.0210607 -0.0207746 -0.0193325 -0.0201588 -0.0208727 -0.0208765 -0.0206926 -0.0201446 -0.0198849 -0.0194912 -0.0197016 -0.01958 -0.0203153 -0.0205494 -0.0204018 -0.0202531 -0.0202211 -0.0197784 -0.0191093 -0.0185372 -0.0182459 -0.0190748 -0.02001 -0.0194722 -0.0170387 -0.0175607 -0.0188402 -0.0201075 -0.0208724 -0.0206906 -0.0209069 -0.0210625 -0.0210131 -0.0205197 -0.0200683 -0.0200135 -0.0197499 -0.0196665 -0.0193795 -0.0195088 -0.021207 -0.0251711 -0.0254775 -0.0236794 -0.0211734 -0.0198654 -0.018065 -0.0154276 -0.0120163 ]';
FIR_DevSTPBCA_22XIC0518SP_yfilt = [0.270766 0.270143 0.269672 0.26915 0.268709 0.268375 0.268056 0.267747 0.267413 0.267101 0.266806 0.266575 0.266395 0.224622 0.111934 -0.110478 -0.0655911 -0.00287729 0.105659 0.170525 0.209911 0.241161 0.270835 0.290369 0.300002 0.304014 0.307775 0.30626 0.304763 0.305486 0.308481 0.312051 0.312922 0.313268 0.313126 0.311326 0.308126 0.304159 0.300553 0.297828 0.29585 0.294365 0.292957 0.29195 0.290988 0.290207 0.289246 0.288298 0.287669 0.286428 0.28561 0.284836 0.284382 0.28401 0.283799 0.283703 0.283654 0.245122 0.203885 0.170514 0.161576 0.176309 0.208557 0.235061 0.265253 0.279707 0.284142 0.280898 0.27643 0.273985 0.276123 0.278203 0.281531 0.285338 0.28854 0.290367 0.291772 0.292795 0.292962 0.292446 0.291552 0.290397 0.234557 0.11962 -0.0859237 -0.0506745 0.0236373 0.0934654 0.161049 0.212245 0.259182 0.287466 0.303697 0.309848 0.309076 0.301195 0.290463 0.279267 0.262343 0.243418 0.217838 0.180069 0.128214 0.0726104 0.0148816 -0.0432979 -0.0835156 -0.0821725 -0.0786446 -0.0938118 -0.100298 -0.0786216 -0.0774499 -0.0884605 -0.0676921 -0.106825 -0.102312 -0.0998919 -0.0826411 0.0245426 0.0277434 0.0277996 0.0289033 0.0321875 0.0353161 0.0348311 0.0295247 0.0232421 0.0201455 0.020174 0.0231178 0.0289927 0.0352616 0.0410991 0.0455504 0.045607 0.0445759 0.0435624 0.0437854 0.0524579 0.0590447 0.0417508 0.0225859 0.00935986 0.00508682 0.00633432 0.00814413 0.0135381 0.0174325 0.018526 0.0173931 0.0125353 0.00541995 -0.00134577 -0.00807862 -0.0149359 -0.0221409 -0.0262014 -0.0263934 -0.0183481 -0.0158204 -0.0151341 -0.013699 -0.0117116 -0.00958361 -0.00769479 -0.00500048 -0.00272855 -0.000155696 0.0026174 0.00522979 0.00866815 0.0109863 0.0136706 0.0158863 0.0176345 0.0195872 0.0209722 0.0217888 0.0219629 0.0220169 0.0216435 0.0209307 0.020094 0.0195617 0.0192761 0.0191818 0.0189689 0.0185701 0.0180559 0.0175049 0.0169442 0.0164085 0.0160539 0.0156689 0.0150873 0.014326 0.0135615 0.0131258 0.0126881 0.0123674 0.0121027 0.0118768 0.0117699 0.0119335 0.0116553 0.00949752 0.00426219 -0.000924901 -0.00766616 -0.0131534 -0.0193787 -0.0207472 -0.0190812 -0.0159172 -0.0121289 -0.00994438 -0.00851677 -0.00839587 -0.00823274 -0.00800247 -0.00606175 -0.00111446 0.00410292 0.00919125 0.0135722 0.0172962 0.0192523 0.0208168 0.0214278 0.0213736 0.0203739 0.0184373 0.015907 0.0135444 0.0115025 0.00825405 0.00383541 0.000731243 -0.00228714 -0.00625133 -0.00903902 -0.0120258 -0.0137623 -0.0156642 -0.0174913 -0.0192417 -0.0198692 -0.0203545 -0.0202712 -0.0198066 -0.0193185 -0.0199672 -0.0204268 -0.020642 -0.0207714 -0.0200024 -0.0199445 -0.0204607 -0.0208258 -0.0208665 -0.0218105 -0.0215271 -0.0215279 -0.0217982 -0.0217509 -0.0216951 -0.0212021 -0.0206433 -0.0201356 -0.0205821 -0.0208828 -0.0205469 -0.0202965 -0.0202748 -0.020956 -0.0209655 -0.0208182 -0.0209498 -0.022 -0.0216228 -0.02086 -0.020825 -0.0209042 -0.0208257 -0.0199687 -0.0186951 -0.0186066 -0.0193922 -0.0200941 -0.0206275 -0.020254 -0.0198719 -0.019473 -0.0196655 -0.0196076 -0.0193061 -0.0197971 -0.0201933 -0.0201861 -0.0201883 -0.0197364 -0.0195097 -0.0200553 -0.0204789 -0.0200624 -0.0194903 -0.0197568 -0.0205824 -0.0211481 -0.0215917 -0.0212919 -0.0210607 -0.0207746 -0.0193325 -0.0201588 -0.0208727 -0.0208765 -0.0206926 -0.0201446 -0.0198849 -0.0194912 -0.0197016 -0.01958 -0.0203153 -0.0205494 -0.0204018 -0.0202531 -0.0202211 -0.0197784 -0.0191093 -0.0185372 -0.0182459 -0.0190748 -0.02001 -0.0194722 -0.0170387 -0.0175607 -0.0188402 -0.0201075 -0.0208724 -0.0206906 -0.0209069 -0.0210625 -0.0210131 -0.0205197 -0.0200683 -0.0200135 -0.0197499 -0.0196665 -0.0193795 -0.0195088 -0.021207 -0.0251711 -0.0254775 -0.0236794 -0.0211734 -0.0198654 -0.018065 -0.0154276 -0.0120163 ]';
FIR_DevSTPBCA_22XIC0518SP_u = [127 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 ]';
FIR_DevSTPBCA_22XIC0518SP_y = [0.266395 0.224622 0.111934 -0.110478 -0.0655911 -0.00287729 0.105659 0.170525 0.209911 0.241161 0.270835 0.290369 0.300002 0.304014 0.307775 0.30626 0.304763 0.305486 0.308481 0.312051 0.312922 0.313268 0.313126 0.311326 0.308126 0.304159 0.300553 0.297828 0.29585 0.294365 0.292957 0.29195 0.290988 0.290207 0.289246 0.288298 0.287669 0.286428 0.28561 0.284836 0.284382 0.28401 0.283799 0.283703 0.283654 0.245122 0.203885 0.170514 0.161576 0.176309 0.208557 0.235061 0.265253 0.279707 0.284142 0.280898 0.27643 0.273985 0.276123 0.278203 0.281531 0.285338 0.28854 0.290367 0.291772 0.292795 0.292962 0.292446 0.291552 0.290397 0.234557 0.11962 -0.0859237 -0.0506745 0.0236373 0.0934654 0.161049 0.212245 0.259182 0.287466 0.303697 0.309848 0.309076 0.301195 0.290463 0.279267 0.262343 0.243418 0.217838 0.180069 0.128214 0.0726104 0.0148816 -0.0432979 -0.0835156 -0.0821725 -0.0786446 -0.0938118 -0.100298 -0.0786216 -0.0774499 -0.0884605 -0.0676921 -0.106825 -0.102312 -0.0998919 -0.0826411 0.0245426 0.0277434 0.0277996 0.0289033 0.0321875 0.0353161 0.0348311 0.0295247 0.0232421 0.0201455 0.020174 0.0231178 0.0289927 0.0352616 0.0410991 0.0455504 0.045607 0.0445759 0.0435624 0.0437854 0.0524579 0.0590447 0.0417508 0.0225859 0.00935986 0.00508682 0.00633432 0.00814413 0.0135381 0.0174325 0.018526 0.0173931 0.0125353 0.00541995 -0.00134577 -0.00807862 -0.0149359 -0.0221409 -0.0262014 -0.0263934 -0.0183481 -0.0158204 -0.0151341 -0.013699 -0.0117116 -0.00958361 -0.00769479 -0.00500048 -0.00272855 -0.000155696 0.0026174 0.00522979 0.00866815 0.0109863 0.0136706 0.0158863 0.0176345 0.0195872 0.0209722 0.0217888 0.0219629 0.0220169 0.0216435 0.0209307 0.020094 0.0195617 0.0192761 0.0191818 0.0189689 0.0185701 0.0180559 0.0175049 0.0169442 0.0164085 0.0160539 0.0156689 0.0150873 0.014326 0.0135615 0.0131258 0.0126881 0.0123674 0.0121027 0.0118768 0.0117699 0.0119335 0.0116553 0.00949752 0.00426219 -0.000924901 -0.00766616 -0.0131534 -0.0193787 -0.0207472 -0.0190812 -0.0159172 -0.0121289 -0.00994438 -0.00851677 -0.00839587 -0.00823274 -0.00800247 -0.00606175 -0.00111446 0.00410292 0.00919125 0.0135722 0.0172962 0.0192523 0.0208168 0.0214278 0.0213736 0.0203739 0.0184373 0.015907 0.0135444 0.0115025 0.00825405 0.00383541 0.000731243 -0.00228714 -0.00625133 -0.00903902 -0.0120258 -0.0137623 -0.0156642 -0.0174913 -0.0192417 -0.0198692 -0.0203545 -0.0202712 -0.0198066 -0.0193185 -0.0199672 -0.0204268 -0.020642 -0.0207714 -0.0200024 -0.0199445 -0.0204607 -0.0208258 -0.0208665 -0.0218105 -0.0215271 -0.0215279 -0.0217982 -0.0217509 -0.0216951 -0.0212021 -0.0206433 -0.0201356 -0.0205821 -0.0208828 -0.0205469 -0.0202965 -0.0202748 -0.020956 -0.0209655 -0.0208182 -0.0209498 -0.022 -0.0216228 -0.02086 -0.020825 -0.0209042 -0.0208257 -0.0199687 -0.0186951 -0.0186066 -0.0193922 -0.0200941 -0.0206275 -0.020254 -0.0198719 -0.019473 -0.0196655 -0.0196076 -0.0193061 -0.0197971 -0.0201933 -0.0201861 -0.0201883 -0.0197364 -0.0195097 -0.0200553 -0.0204789 -0.0200624 -0.0194903 -0.0197568 -0.0205824 -0.0211481 -0.0215917 -0.0212919 -0.0210607 -0.0207746 -0.0193325 -0.0201588 -0.0208727 -0.0208765 -0.0206926 -0.0201446 -0.0198849 -0.0194912 -0.0197016 -0.01958 -0.0203153 -0.0205494 -0.0204018 -0.0202531 -0.0202211 -0.0197784 -0.0191093 -0.0185372 ]';
FIR_DevSTPBCA_22XIC0518SP_ymod = [0.266395 0.231342 0.122694 -0.0636101 -0.0295656 0.0368082 0.124465 0.18979 0.23536 0.272973 0.299886 0.316113 0.323087 0.322908 0.322894 0.321892 0.322135 0.322239 0.321869 0.318311 0.310605 0.296937 0.280237 0.264516 0.24926 0.239114 0.237583 0.238712 0.235274 0.236909 0.245307 0.246234 0.245591 0.249381 0.241458 0.24075 0.241595 0.248299 0.270876 0.272366 0.26906 0.265248 0.261584 0.257843 0.252613 0.225986 0.171016 0.0857529 0.0925727 0.113702 0.149878 0.180832 0.205005 0.221336 0.230712 0.236373 0.238564 0.239808 0.246084 0.248555 0.250412 0.252606 0.258376 0.270246 0.276216 0.279071 0.280788 0.281745 0.280284 0.276665 0.234688 0.118696 -0.0785427 -0.0481141 0.0195751 0.10284 0.167075 0.216469 0.255088 0.283131 0.298077 0.303724 0.307319 0.300749 0.290097 0.277404 0.261756 0.243669 0.219578 0.186991 0.149474 0.111706 0.0669169 0.0238868 -0.00647419 -0.0175783 -0.0221209 -0.0334611 -0.0391779 -0.0343332 -0.0376148 -0.0425458 -0.0385469 -0.0510555 -0.0512539 -0.045714 -0.0266003 0.0206857 0.035798 0.0427167 0.0486535 0.0545245 0.0593552 0.060615 0.054484 0.0552806 0.0642988 0.0606788 0.0572261 0.0563917 0.0610983 0.0680972 0.0715587 0.0705715 0.0684869 0.065159 0.0620908 0.0632802 0.0590591 0.0479934 0.0340962 0.0235783 0.02145 0.0178956 0.0152666 0.0140291 0.0127435 0.00991757 0.00513988 -0.00329399 -0.0121917 -0.0224265 -0.0281742 -0.0316479 -0.0376724 -0.0400416 -0.0382164 -0.0339275 -0.0302263 -0.0274616 -0.0242365 -0.0188525 -0.0161772 -0.0139058 -0.0126755 -0.012388 -0.0124163 -0.013061 -0.0150893 -0.0200893 -0.0265979 -0.0315119 -0.0350825 -0.0356664 -0.0317198 -0.027623 -0.0249081 -0.0219296 -0.0170272 -0.0140008 -0.0130827 -0.0112148 -0.013858 -0.0142371 -0.0134937 -0.00916992 0.00190775 0.00452283 0.00401457 0.00227842 3.4015e-005 -0.000946481 -0.00132732 -0.00141751 -0.00222189 -0.00277459 -0.000919643 0.00195581 0.00456653 0.00563516 0.00568167 0.00583416 0.00549675 0.00446559 0.00275959 0.000428645 -0.00168819 -0.00414429 -0.00860513 -0.013055 -0.0154404 -0.0153813 -0.0119596 -0.00663221 -0.000788066 0.00440996 0.00904212 0.0129832 0.0165141 0.0202957 0.0247694 0.0285277 0.0314198 0.033973 0.0361582 0.0378311 0.0395682 0.0400763 0.0393402 0.0372483 0.0338672 0.0304644 0.027076 0.0238566 0.0205848 0.0189059 0.0184005 0.0186023 0.0193961 0.0204221 0.0210191 0.0208363 0.0195042 0.0171641 0.0143737 0.0118458 0.00943456 0.00704488 0.00478955 0.00256245 6.20774e-005 -0.00229174 -0.00484786 -0.00788447 -0.0115373 -0.0158929 -0.0192779 -0.0206553 -0.0181803 -0.007753 -0.0109667 -0.0137915 -0.0164572 -0.0188885 -0.0210596 -0.0231379 -0.024984 -0.0264561 -0.0274113 -0.0278125 -0.0277504 -0.0273791 -0.026963 -0.0268938 -0.0272728 -0.0280374 -0.0290613 -0.029878 -0.030344 -0.0301348 -0.0300133 -0.0306556 -0.032272 -0.0347856 -0.0378103 -0.0403303 -0.0423572 -0.0436971 -0.0442149 -0.0437434 -0.0425683 -0.0410618 -0.0396727 -0.0386489 -0.0381348 -0.0380864 -0.0382356 -0.0384013 -0.0384731 -0.0384058 -0.0382715 -0.0377002 -0.0356309 -0.0299145 -0.0318031 -0.0339767 -0.0363029 -0.0385267 -0.0402541 -0.0413416 -0.0417869 -0.0416691 -0.0410312 -0.0401583 -0.0389386 -0.0373609 -0.0354194 -0.0331446 -0.0305732 -0.0276944 -0.0243874 -0.0203418 -0.0152814 -0.00875336 -0.000391813 0.0103774 0.0247876 0.0450643 0.0749659 0.0902335 ]';
FIR_DevSTPBCA_22XIC0518SP = [-0.0175266 -0.0718506 -0.165003 -0.147981 -0.114794 -0.070965 -0.038303 -0.0155179 0.00328878 0.0167453 0.0248587 0.0283456 0.0282565 0.0282493 0.0277481 0.0278698 0.0279218 0.0277366 0.0259578 0.0221046 0.0152707 0.00692097 -0.000939827 -0.00856765 -0.0136405 -0.0144061 -0.0138418 -0.0155609 -0.0147434 -0.0105443 -0.0100809 -0.0104023 -0.00850702 -0.0124687 -0.0128229 -0.0124003 -0.00904826 0.00224045 0.0029852 0.00133201 -0.000573921 -0.00240591 -0.00427614 -0.00689141 -0.0114416 -0.0117645 -0.0078199 -0.0129211 -0.0189498 -0.0227764 -0.0236303 -0.0229364 -0.0241743 -0.0262144 -0.0274408 -0.0280886 -0.0274218 -0.0242803 -0.0227944 -0.0219266 -0.0208555 -0.017878 -0.0110535 -0.00614223 -0.0012978 0.00373554 0.00814465 0.0112279 0.0119548 0.00887602 0.00492172 0.000314125 -0.00190255 -0.0033444 -0.00577221 -0.00615623 -0.00519204 -0.00270807 -0.00196601 -0.00281783 -0.00515711 -0.00891504 -0.012565 -0.0165635 -0.0220785 -0.0290384 -0.0369618 -0.0459208 -0.0560863 -0.067849 -0.0803558 -0.0923389 -0.103212 -0.111406 -0.115766 -0.118948 -0.12228 -0.124936 -0.1261 -0.12788 -0.130358 -0.131824 -0.13486 -0.135039 -0.133227 -0.128511 -0.119569 -0.115213 -0.112523 -0.110165 -0.107602 -0.104858 -0.101976 -0.0989523 -0.0962539 -0.0933856 -0.088986 -0.0839627 -0.0793394 -0.0759402 -0.0736168 -0.0718901 -0.0707146 -0.0701046 -0.0699512 -0.0702731 -0.0709949 -0.0725921 -0.0762352 -0.0807751 -0.0850498 -0.0884589 -0.0900647 -0.0903422 -0.0897409 -0.0888012 -0.087861 -0.0868796 -0.085838 -0.0847413 -0.083585 -0.0829142 -0.0826275 -0.0823218 -0.0818836 -0.0812019 -0.0800237 -0.0788257 -0.0774974 -0.0759036 -0.0739247 -0.0711149 -0.067326 -0.0623746 -0.0565524 -0.0500151 -0.0428193 -0.0351801 -0.0272665 -0.0194482 -0.0121219 -0.00554591 4.48498e-005 0.00467806 0.00874726 0.0125735 0.0161309 0.0194405 0.0226574 0.0257549 0.0285163 0.0310289 0.0328397 0.0336696 0.0332528 0.0315541 0.0293088 0.0265031 0.0229767 0.0188217 0.0151174 0.0115546 0.00796465 0.00431571 0.000592937 -0.00321459 -0.00694344 -0.0104142 -0.0134982 -0.0161393 -0.0183788 -0.020322 -0.0221118 -0.0239151 -0.025748 -0.0274896 -0.0290149 -0.0300778 -0.0306741 -0.0308607 -0.0310199 -0.0315229 -0.0325385 -0.0341269 -0.0361307 -0.0380428 -0.0398491 -0.0414419 -0.0426824 -0.0435149 -0.0440852 -0.0445807 -0.0452182 -0.0461126 -0.0473386 -0.0489045 -0.0507539 -0.0528652 -0.0552965 -0.0581166 -0.0615051 -0.0655854 -0.0703833 -0.0757639 -0.0812885 -0.0869556 -0.092699 -0.0983912 -0.103835 -0.108959 -0.113762 -0.118284 -0.122545 -0.126689 -0.130659 -0.13445 -0.13806 -0.141503 -0.144797 -0.147938 -0.150865 -0.153423 -0.155473 -0.156789 -0.157189 -0.156384 -0.153759 -0.148201 -0.137831 -0.134777 ]';
FIR_DevSTPBCA_22XIC0518SP_u_wndw0 = [127 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 129 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 130 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 132 ]';
FIR_DevSTPBCA_22XIC0518SP_y_wndw0 = [0.266395 0.224622 0.111934 -0.110478 -0.0655911 -0.00287729 0.105659 0.170525 0.209911 0.241161 0.270835 0.290369 0.300002 0.304014 0.307775 0.30626 0.304763 0.305486 0.308481 0.312051 0.312922 0.313268 0.313126 0.311326 0.308126 0.304159 0.300553 0.297828 0.29585 0.294365 0.292957 0.29195 0.290988 0.290207 0.289246 0.288298 0.287669 0.286428 0.28561 0.284836 0.284382 0.28401 0.283799 0.283703 0.283654 0.245122 0.203885 0.170514 0.161576 0.176309 0.208557 0.235061 0.265253 0.279707 0.284142 0.280898 0.27643 0.273985 0.276123 0.278203 0.281531 0.285338 0.28854 0.290367 0.291772 0.292795 0.292962 0.292446 0.291552 0.290397 0.234557 0.11962 -0.0859237 -0.0506745 0.0236373 0.0934654 0.161049 0.212245 0.259182 0.287466 0.303697 0.309848 0.309076 0.301195 0.290463 0.279267 0.262343 0.243418 0.217838 0.180069 0.128214 0.0726104 0.0148816 -0.0432979 -0.0835156 -0.0821725 -0.0786446 -0.0938118 -0.100298 -0.0786216 -0.0774499 -0.0884605 -0.0676921 -0.106825 -0.102312 -0.0998919 -0.0826411 0.0245426 0.0277434 0.0277996 0.0289033 0.0321875 0.0353161 0.0348311 0.0295247 0.0232421 0.0201455 0.020174 0.0231178 0.0289927 0.0352616 0.0410991 0.0455504 0.045607 0.0445759 0.0435624 0.0437854 0.0524579 0.0590447 0.0417508 0.0225859 0.00935986 0.00508682 0.00633432 0.00814413 0.0135381 0.0174325 0.018526 0.0173931 0.0125353 0.00541995 -0.00134577 -0.00807862 -0.0149359 -0.0221409 -0.0262014 -0.0263934 -0.0183481 -0.0158204 -0.0151341 -0.013699 -0.0117116 -0.00958361 -0.00769479 -0.00500048 -0.00272855 -0.000155696 0.0026174 0.00522979 0.00866815 0.0109863 0.0136706 0.0158863 0.0176345 0.0195872 0.0209722 0.0217888 0.0219629 0.0220169 0.0216435 0.0209307 0.020094 0.0195617 0.0192761 0.0191818 0.0189689 0.0185701 0.0180559 0.0175049 0.0169442 0.0164085 0.0160539 0.0156689 0.0150873 0.014326 0.0135615 0.0131258 0.0126881 0.0123674 0.0121027 0.0118768 0.0117699 0.0119335 0.0116553 0.00949752 0.00426219 -0.000924901 -0.00766616 -0.0131534 -0.0193787 -0.0207472 -0.0190812 -0.0159172 -0.0121289 -0.00994438 -0.00851677 -0.00839587 -0.00823274 -0.00800247 -0.00606175 -0.00111446 0.00410292 0.00919125 0.0135722 0.0172962 0.0192523 0.0208168 0.0214278 0.0213736 0.0203739 0.0184373 0.015907 0.0135444 0.0115025 0.00825405 0.00383541 0.000731243 -0.00228714 -0.00625133 -0.00903902 -0.0120258 -0.0137623 -0.0156642 -0.0174913 -0.0192417 -0.0198692 -0.0203545 -0.0202712 -0.0198066 -0.0193185 -0.0199672 -0.0204268 -0.020642 -0.0207714 -0.0200024 -0.0199445 -0.0204607 -0.0208258 -0.0208665 -0.0218105 -0.0215271 -0.0215279 -0.0217982 -0.0217509 -0.0216951 -0.0212021 -0.0206433 -0.0201356 -0.0205821 -0.0208828 -0.0205469 -0.0202965 -0.0202748 -0.020956 -0.0209655 -0.0208182 -0.0209498 -0.022 -0.0216228 -0.02086 -0.020825 -0.0209042 -0.0208257 -0.0199687 -0.0186951 -0.0186066 -0.0193922 -0.0200941 -0.0206275 -0.020254 -0.0198719 -0.019473 -0.0196655 -0.0196076 -0.0193061 -0.0197971 -0.0201933 -0.0201861 -0.0201883 -0.0197364 -0.0195097 -0.0200553 -0.0204789 -0.0200624 -0.0194903 -0.0197568 -0.0205824 -0.0211481 -0.0215917 -0.0212919 -0.0210607 -0.0207746 -0.0193325 -0.0201588 -0.0208727 -0.0208765 -0.0206926 -0.0201446 -0.0198849 -0.0194912 -0.0197016 -0.01958 -0.0203153 -0.0205494 -0.0204018 -0.0202531 -0.0202211 -0.0197784 -0.0191093 -0.0185372 ]';
FIR_DevSTPBCA_22XIC0518SP_ymod_wndw0 = [0.266395 0.231342 0.122694 -0.0636101 -0.0295656 0.0368082 0.124465 0.18979 0.23536 0.272973 0.299886 0.316113 0.323087 0.322908 0.322894 0.321892 0.322135 0.322239 0.321869 0.318311 0.310605 0.296937 0.280237 0.264516 0.24926 0.239114 0.237583 0.238712 0.235274 0.236909 0.245307 0.246234 0.245591 0.249381 0.241458 0.24075 0.241595 0.248299 0.270876 0.272366 0.26906 0.265248 0.261584 0.257843 0.252613 0.225986 0.171016 0.0857529 0.0925727 0.113702 0.149878 0.180832 0.205005 0.221336 0.230712 0.236373 0.238564 0.239808 0.246084 0.248555 0.250412 0.252606 0.258376 0.270246 0.276216 0.279071 0.280788 0.281745 0.280284 0.276665 0.234688 0.118696 -0.0785427 -0.0481141 0.0195751 0.10284 0.167075 0.216469 0.255088 0.283131 0.298077 0.303724 0.307319 0.300749 0.290097 0.277404 0.261756 0.243669 0.219578 0.186991 0.149474 0.111706 0.0669169 0.0238868 -0.00647419 -0.0175783 -0.0221209 -0.0334611 -0.0391779 -0.0343332 -0.0376148 -0.0425458 -0.0385469 -0.0510555 -0.0512539 -0.045714 -0.0266003 0.0206857 0.035798 0.0427167 0.0486535 0.0545245 0.0593552 0.060615 0.054484 0.0552806 0.0642988 0.0606788 0.0572261 0.0563917 0.0610983 0.0680972 0.0715587 0.0705715 0.0684869 0.065159 0.0620908 0.0632802 0.0590591 0.0479934 0.0340962 0.0235783 0.02145 0.0178956 0.0152666 0.0140291 0.0127435 0.00991757 0.00513988 -0.00329399 -0.0121917 -0.0224265 -0.0281742 -0.0316479 -0.0376724 -0.0400416 -0.0382164 -0.0339275 -0.0302263 -0.0274616 -0.0242365 -0.0188525 -0.0161772 -0.0139058 -0.0126755 -0.012388 -0.0124163 -0.013061 -0.0150893 -0.0200893 -0.0265979 -0.0315119 -0.0350825 -0.0356664 -0.0317198 -0.027623 -0.0249081 -0.0219296 -0.0170272 -0.0140008 -0.0130827 -0.0112148 -0.013858 -0.0142371 -0.0134937 -0.00916992 0.00190775 0.00452283 0.00401457 0.00227842 3.4015e-005 -0.000946481 -0.00132732 -0.00141751 -0.00222189 -0.00277459 -0.000919643 0.00195581 0.00456653 0.00563516 0.00568167 0.00583416 0.00549675 0.00446559 0.00275959 0.000428645 -0.00168819 -0.00414429 -0.00860513 -0.013055 -0.0154404 -0.0153813 -0.0119596 -0.00663221 -0.000788066 0.00440996 0.00904212 0.0129832 0.0165141 0.0202957 0.0247694 0.0285277 0.0314198 0.033973 0.0361582 0.0378311 0.0395682 0.0400763 0.0393402 0.0372483 0.0338672 0.0304644 0.027076 0.0238566 0.0205848 0.0189059 0.0184005 0.0186023 0.0193961 0.0204221 0.0210191 0.0208363 0.0195042 0.0171641 0.0143737 0.0118458 0.00943456 0.00704488 0.00478955 0.00256245 6.20774e-005 -0.00229174 -0.00484786 -0.00788447 -0.0115373 -0.0158929 -0.0192779 -0.0206553 -0.0181803 -0.007753 -0.0109667 -0.0137915 -0.0164572 -0.0188885 -0.0210596 -0.0231379 -0.024984 -0.0264561 -0.0274113 -0.0278125 -0.0277504 -0.0273791 -0.026963 -0.0268938 -0.0272728 -0.0280374 -0.0290613 -0.029878 -0.030344 -0.0301348 -0.0300133 -0.0306556 -0.032272 -0.0347856 -0.0378103 -0.0403303 -0.0423572 -0.0436971 -0.0442149 -0.0437434 -0.0425683 -0.0410618 -0.0396727 -0.0386489 -0.0381348 -0.0380864 -0.0382356 -0.0384013 -0.0384731 -0.0384058 -0.0382715 -0.0377002 -0.0356309 -0.0299145 -0.0318031 -0.0339767 -0.0363029 -0.0385267 -0.0402541 -0.0413416 -0.0417869 -0.0416691 -0.0410312 -0.0401583 -0.0389386 -0.0373609 -0.0354194 -0.0331446 -0.0305732 -0.0276944 -0.0243874 -0.0203418 -0.0152814 -0.00875336 -0.000391813 0.0103774 0.0247876 0.0450643 0.0749659 0.0902335 ]';
figure(1)
subplot(2,1,1)
plot(FIR_DevSTPBCA_22XIC0518SP_uraw)
grid
xlabel('22XIC0518SP raw data');
title('Data for DevSTPBCA and 22XIC0518SP');
subplot(2,1,2)
plot([FIR_DevSTPBCA_22XIC0518SP_yraw FIR_DevSTPBCA_22XIC0518SP_yfilt])
grid
xlabel('DevSTPBCA raw and filtered');
figure(2)
subplot(3,1,1)
plot(FIR_DevSTPBCA_22XIC0518SP_u)
grid
xlabel('22XIC0518SP');
title('Modeling DevSTPBCA from steps in 22XIC0518SP');
subplot(3,1,2)
plot([FIR_DevSTPBCA_22XIC0518SP_y FIR_DevSTPBCA_22XIC0518SP_ymod])
grid
xlabel('DevSTPBCA measured and model');
subplot(3,1,3)
plot(FIR_DevSTPBCA_22XIC0518SP)
xlabel('Step response');

figure(3)
subplot(2,1,1)
plot(FIR_DevSTPBCA_22XIC0518SP_u_wndw0)
grid
xlabel('22XIC0518SP');
title('Data window #1: Modeling DevSTPBCA from steps in 22XIC0518SP');
subplot(2,1,2)
plot([FIR_DevSTPBCA_22XIC0518SP_y_wndw0 FIR_DevSTPBCA_22XIC0518SP_ymod_wndw0])
grid
xlabel('DevSTPBCA measured and model');

% MATLAB SCRIPT ENDS .......

