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

% MATLAB SCRIPT STARTS .......

FIR_ASVSTPSGCB_22XIC0518SP_uraw = [126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 125.999 125.999 125.999 125.999 125.999 125.999 125.999 125.999 125.999 125.999 125.999 125.999 125.999 125.998 125.998 125.998 125.998 125.998 125.997 125.997 125.997 125.996 125.996 125.996 125.995 125.995 125.994 125.994 125.993 126 125.999 125.997 125.996 125.996 125.996 125.996 125.996 125.996 125.997 125.997 125.997 125.996 125.996 125.996 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 126 126 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 ]';
FIR_ASVSTPSGCB_22XIC0518SP_yraw = [2.29416 2.28089 2.27375 2.26847 2.26331 2.25802 2.25113 2.24602 2.24154 2.23807 2.23848 2.23529 2.23749 2.24123 2.24531 2.24807 2.25003 2.25139 2.25261 2.25388 2.25547 2.2569 2.25867 2.26034 2.26218 2.2638 2.26534 2.26678 2.26813 2.26943 2.27081 2.27202 2.27354 2.27479 2.27586 2.27684 2.27788 2.27864 2.27947 2.28015 2.28072 2.28124 2.2818 2.28228 2.28267 2.283 2.28333 2.28359 2.28376 2.28389 2.28399 2.28407 2.28412 2.28414 2.28415 2.28414 2.28411 2.28407 2.28403 2.28397 2.28391 2.28386 2.28379 2.28375 2.28369 2.28364 2.28358 2.28353 2.28347 2.28338 2.2836 2.28426 2.28501 2.28563 2.28588 2.28586 2.28556 2.28518 2.28497 2.28515 2.28552 2.28586 2.28614 2.28624 2.28611 2.28578 2.28538 2.28509 2.28492 2.28495 2.285 2.28507 2.28499 2.28483 2.2845 2.28419 2.28392 2.28379 2.28377 2.28378 2.28372 2.28368 2.2836 2.28347 2.28333 2.28318 2.28305 2.28306 2.28305 2.28303 2.28305 2.28303 2.28299 2.28293 2.28286 2.28282 2.28286 2.28283 2.28289 2.28293 2.28294 2.28296 2.28296 2.28296 2.28299 2.28299 2.28302 2.28308 2.28313 2.2832 2.28323 2.28327 2.28335 2.28335 2.28342 2.28344 2.28347 2.28353 2.28358 2.28366 2.28368 2.28371 2.28378 2.28377 2.2838 2.28383 2.28388 2.28387 2.2839 2.28392 2.28394 2.28396 2.28399 2.28398 2.28399 2.28399 2.28402 2.28398 2.284 2.28398 2.28397 2.28396 2.28394 2.28393 2.28395 2.28391 2.28389 2.28387 2.28385 2.28383 2.28381 2.2838 2.28378 2.28375 2.28373 2.2837 2.28368 2.28365 2.28363 2.28362 2.2836 2.28357 2.28356 2.28355 2.28351 2.28349 2.28347 2.28346 2.28344 2.28344 2.28342 2.28345 2.28341 2.28339 2.28337 2.28335 2.28337 2.28333 2.28333 2.28332 2.28331 2.28331 2.2833 2.2833 2.28329 2.28329 2.28328 2.28328 2.28327 2.28328 2.28328 2.28328 2.28329 2.28328 2.28326 2.28326 2.28326 2.28327 2.28327 2.28328 2.28326 2.28325 2.28328 2.28325 2.28325 2.28325 2.28326 2.28325 2.28326 2.28329 2.28325 2.28326 2.28327 2.28325 2.28325 2.28329 2.28325 2.28326 2.28325 2.28325 2.28324 2.28324 2.28324 2.28324 2.28323 2.28324 2.28327 2.28326 2.28325 2.28325 2.28327 2.28325 2.28326 2.28324 2.28338 2.28375 2.28109 2.26502 2.21206 2.12771 2.01456 1.94978 1.8964 1.87337 1.8915 1.93414 2.01468 2.09778 2.18877 2.29413 2.38352 2.47332 2.56062 2.65889 2.74578 2.80921 2.8705 2.91786 2.95918 2.99386 3.02184 3.04248 3.05302 3.05246 3.03937 3.0173 2.9881 2.95006 2.91217 2.87267 2.83258 2.78853 2.75285 2.70994 2.67176 2.63451 2.59114 2.55272 2.5156 2.47657 2.44826 2.41773 2.38516 2.35303 2.31741 2.28682 2.25535 2.21967 2.18299 2.14558 2.11125 2.07849 2.04961 2.03381 2.02368 2.01763 2.01432 2.01272 2.13325 2.03603 2.02689 2.02171 2.01976 2.01826 2.01769 2.01764 2.0179 2.01827 2.01858 2.01882 2.01894 2.01907 2.01899 2.01878 2.01847 2.01809 2.01767 2.01723 2.01674 2.01613 2.01546 2.01472 2.01386 2.01312 2.01237 2.01163 2.0109 2.0101 2.00939 2.00861 2.00783 2.00713 2.00643 2.00569 2.0051 2.0044 2.00381 2.00313 2.0026 2.00215 2.00168 ]';
FIR_ASVSTPSGCB_22XIC0518SP_yfilt = [2.29416 2.28089 2.27375 2.26847 2.26331 2.25802 2.25113 2.24602 2.24154 2.23807 2.23848 2.23529 2.23749 2.24123 2.24531 2.24807 2.25003 2.25139 2.25261 2.25388 2.25547 2.2569 2.25867 2.26034 2.26218 2.2638 2.26534 2.26678 2.26813 2.26943 2.27081 2.27202 2.27354 2.27479 2.27586 2.27684 2.27788 2.27864 2.27947 2.28015 2.28072 2.28124 2.2818 2.28228 2.28267 2.283 2.28333 2.28359 2.28376 2.28389 2.28399 2.28407 2.28412 2.28414 2.28415 2.28414 2.28411 2.28407 2.28403 2.28397 2.28391 2.28386 2.28379 2.28375 2.28369 2.28364 2.28358 2.28353 2.28347 2.28338 2.2836 2.28426 2.28501 2.28563 2.28588 2.28586 2.28556 2.28518 2.28497 2.28515 2.28552 2.28586 2.28614 2.28624 2.28611 2.28578 2.28538 2.28509 2.28492 2.28495 2.285 2.28507 2.28499 2.28483 2.2845 2.28419 2.28392 2.28379 2.28377 2.28378 2.28372 2.28368 2.2836 2.28347 2.28333 2.28318 2.28305 2.28306 2.28305 2.28303 2.28305 2.28303 2.28299 2.28293 2.28286 2.28282 2.28286 2.28283 2.28289 2.28293 2.28294 2.28296 2.28296 2.28296 2.28299 2.28299 2.28302 2.28308 2.28313 2.2832 2.28323 2.28327 2.28335 2.28335 2.28342 2.28344 2.28347 2.28353 2.28358 2.28366 2.28368 2.28371 2.28378 2.28377 2.2838 2.28383 2.28388 2.28387 2.2839 2.28392 2.28394 2.28396 2.28399 2.28398 2.28399 2.28399 2.28402 2.28398 2.284 2.28398 2.28397 2.28396 2.28394 2.28393 2.28395 2.28391 2.28389 2.28387 2.28385 2.28383 2.28381 2.2838 2.28378 2.28375 2.28373 2.2837 2.28368 2.28365 2.28363 2.28362 2.2836 2.28357 2.28356 2.28355 2.28351 2.28349 2.28347 2.28346 2.28344 2.28344 2.28342 2.28345 2.28341 2.28339 2.28337 2.28335 2.28337 2.28333 2.28333 2.28332 2.28331 2.28331 2.2833 2.2833 2.28329 2.28329 2.28328 2.28328 2.28327 2.28328 2.28328 2.28328 2.28329 2.28328 2.28326 2.28326 2.28326 2.28327 2.28327 2.28328 2.28326 2.28325 2.28328 2.28325 2.28325 2.28325 2.28326 2.28325 2.28326 2.28329 2.28325 2.28326 2.28327 2.28325 2.28325 2.28329 2.28325 2.28326 2.28325 2.28325 2.28324 2.28324 2.28324 2.28324 2.28323 2.28324 2.28327 2.28326 2.28325 2.28325 2.28327 2.28325 2.28326 2.28324 2.28338 2.28375 2.28109 2.26502 2.21206 2.12771 2.01456 1.94978 1.8964 1.87337 1.8915 1.93414 2.01468 2.09778 2.18877 2.29413 2.38352 2.47332 2.56062 2.65889 2.74578 2.80921 2.8705 2.91786 2.95918 2.99386 3.02184 3.04248 3.05302 3.05246 3.03937 3.0173 2.9881 2.95006 2.91217 2.87267 2.83258 2.78853 2.75285 2.70994 2.67176 2.63451 2.59114 2.55272 2.5156 2.47657 2.44826 2.41773 2.38516 2.35303 2.31741 2.28682 2.25535 2.21967 2.18299 2.14558 2.11125 2.07849 2.04961 2.03381 2.02368 2.01763 2.01432 2.01272 2.13325 2.03603 2.02689 2.02171 2.01976 2.01826 2.01769 2.01764 2.0179 2.01827 2.01858 2.01882 2.01894 2.01907 2.01899 2.01878 2.01847 2.01809 2.01767 2.01723 2.01674 2.01613 2.01546 2.01472 2.01386 2.01312 2.01237 2.01163 2.0109 2.0101 2.00939 2.00861 2.00783 2.00713 2.00643 2.00569 2.0051 2.0044 2.00381 2.00313 2.0026 2.00215 2.00168 ]';
FIR_ASVSTPSGCB_22XIC0518SP_u = [125.993 126 125.999 125.997 125.996 125.996 125.996 125.996 125.996 125.996 125.997 125.997 125.997 125.996 125.996 125.996 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 126 126 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 ]';
FIR_ASVSTPSGCB_22XIC0518SP_y = [2.28338 2.2836 2.28426 2.28501 2.28563 2.28588 2.28586 2.28556 2.28518 2.28497 2.28515 2.28552 2.28586 2.28614 2.28624 2.28611 2.28578 2.28538 2.28509 2.28492 2.28495 2.285 2.28507 2.28499 2.28483 2.2845 2.28419 2.28392 2.28379 2.28377 2.28378 2.28372 2.28368 2.2836 2.28347 2.28333 2.28318 2.28305 2.28306 2.28305 2.28303 2.28305 2.28303 2.28299 2.28293 2.28286 2.28282 2.28286 2.28283 2.28289 2.28293 2.28294 2.28296 2.28296 2.28296 2.28299 2.28299 2.28302 2.28308 2.28313 2.2832 2.28323 2.28327 2.28335 2.28335 2.28342 2.28344 2.28347 2.28353 2.28358 2.28366 2.28368 2.28371 2.28378 2.28377 2.2838 2.28383 2.28388 2.28387 2.2839 2.28392 2.28394 2.28396 2.28399 2.28398 2.28399 2.28399 2.28402 2.28398 2.284 2.28398 2.28397 2.28396 2.28394 2.28393 2.28395 2.28391 2.28389 2.28387 2.28385 2.28383 2.28381 2.2838 2.28378 2.28375 2.28373 2.2837 2.28368 2.28365 2.28363 2.28362 2.2836 2.28357 2.28356 2.28355 2.28351 2.28349 2.28347 2.28346 2.28344 2.28344 2.28342 2.28345 2.28341 2.28339 2.28337 2.28335 2.28337 2.28333 2.28333 2.28332 2.28331 2.28331 2.2833 2.2833 2.28329 2.28329 2.28328 2.28328 2.28327 2.28328 2.28328 2.28328 2.28329 2.28328 2.28326 2.28326 2.28326 2.28327 2.28327 2.28328 2.28326 2.28325 2.28328 2.28325 2.28325 2.28325 2.28326 2.28325 2.28326 2.28329 2.28325 2.28326 2.28327 2.28325 2.28325 2.28329 2.28325 2.28326 2.28325 2.28325 2.28324 2.28324 2.28324 2.28324 2.28323 2.28324 2.28327 2.28326 2.28325 2.28325 2.28327 2.28325 2.28326 2.28324 2.28338 2.28375 2.28109 2.26502 2.21206 2.12771 2.01456 1.94978 1.8964 1.87337 1.8915 1.93414 2.01468 2.09778 2.18877 2.29413 2.38352 2.47332 2.56062 2.65889 2.74578 2.80921 2.8705 2.91786 2.95918 2.99386 3.02184 3.04248 3.05302 3.05246 3.03937 3.0173 2.9881 2.95006 2.91217 2.87267 2.83258 2.78853 2.75285 2.70994 2.67176 2.63451 2.59114 2.55272 2.5156 2.47657 2.44826 2.41773 2.38516 2.35303 2.31741 2.28682 2.25535 2.21967 2.18299 2.14558 2.11125 2.07849 2.04961 2.03381 2.02368 2.01763 2.01432 2.01272 2.13325 2.03603 2.02689 2.02171 2.01976 2.01826 2.01769 2.01764 2.0179 2.01827 2.01858 2.01882 2.01894 2.01907 2.01899 2.01878 2.01847 2.01809 2.01767 2.01723 2.01674 2.01613 2.01546 2.01472 2.01386 2.01312 2.01237 2.01163 2.0109 2.0101 2.00939 2.00861 2.00783 2.00713 2.00643 2.00569 2.0051 2.0044 2.00381 2.00313 2.0026 2.00215 2.00168 ]';
FIR_ASVSTPSGCB_22XIC0518SP_ymod = [2.28338 2.28342 2.28356 2.28391 2.28436 2.28478 2.28491 2.28489 2.28473 2.28444 2.2841 2.28372 2.28337 2.28305 2.28275 2.28248 2.28223 2.28198 2.28173 2.28153 2.28139 2.28128 2.2812 2.28114 2.28109 2.28106 2.28105 2.28107 2.28113 2.28122 2.28132 2.28144 2.28156 2.28167 2.28178 2.28189 2.282 2.2821 2.28221 2.28232 2.28242 2.28253 2.28263 2.28273 2.28282 2.28291 2.28299 2.28309 2.28319 2.28329 2.28338 2.28348 2.28359 2.28369 2.28378 2.28386 2.28393 2.28397 2.284 2.284 2.284 2.28398 2.28396 2.28392 2.28399 2.28404 2.28407 2.28409 2.28409 2.2841 2.2841 2.28411 2.28411 2.28412 2.28413 2.28414 2.28415 2.28416 2.28417 2.28417 2.28418 2.28419 2.2842 2.28421 2.28422 2.28423 2.28424 2.28424 2.28425 2.28426 2.28427 2.28428 2.28429 2.2843 2.28431 2.28431 2.28432 2.28433 2.28434 2.28435 2.28435 2.28436 2.28437 2.28437 2.28438 2.28438 2.28439 2.2844 2.2844 2.28441 2.28441 2.28441 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28443 2.28443 2.28443 2.28443 2.28443 2.28443 2.28443 2.28443 2.28443 2.28443 2.28443 2.28443 2.28443 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28445 2.28445 2.28445 2.28445 2.28445 2.28447 2.28455 2.27877 2.25581 2.19845 2.11489 2.02025 1.95595 1.91263 1.89857 1.91763 1.96348 2.03393 2.11536 2.20456 2.29898 2.39008 2.47944 2.56703 2.65327 2.73159 2.79835 2.85637 2.90494 2.94547 2.97833 3.00341 3.02017 3.02775 3.02576 3.01435 2.99477 2.96838 2.93652 2.90146 2.86424 2.82566 2.78622 2.74724 2.70781 2.66887 2.63018 2.59139 2.5536 2.51692 2.48141 2.4478 2.41484 2.38197 2.34911 2.31613 2.28357 2.25101 2.21824 2.18581 2.15453 2.12547 2.09951 2.07774 2.06126 2.04977 2.04287 2.04026 2.04198 2.04836 2.04116 2.03485 2.0299 2.02626 2.02364 2.02184 2.02066 2.01992 2.01948 2.01922 2.01904 2.01889 2.01874 2.01855 2.0183 2.01799 2.01763 2.01722 2.01675 2.01623 2.01566 2.01504 2.01438 2.01368 2.01297 2.01226 2.01154 2.01082 2.01009 2.00938 2.00866 2.00797 2.00729 2.00664 2.00602 2.00543 2.00489 2.0044 2.00397 2.00362 2.00338 2.00326 ]';
FIR_ASVSTPSGCB_22XIC0518SP = [0.00597696 0.0292181 0.0868975 0.170668 0.265452 0.329796 0.373046 0.386949 0.367642 0.321511 0.250747 0.168992 0.0794754 -0.0152578 -0.10666 -0.196314 -0.284183 -0.370649 -0.44918 -0.516104 -0.574265 -0.622953 -0.663578 -0.696502 -0.721608 -0.738361 -0.745913 -0.743854 -0.732364 -0.712675 -0.686168 -0.654184 -0.618993 -0.581646 -0.542932 -0.503359 -0.464251 -0.424692 -0.385617 -0.346807 -0.307888 -0.269982 -0.233192 -0.197565 -0.163846 -0.130774 -0.097789 -0.0648257 -0.0317344 0.000940679 0.0336099 0.066489 0.0990101 0.130382 0.159515 0.185535 0.207344 0.223844 0.23534 0.242235 0.244825 0.243135 0.236768 0.243989 0.250312 0.25527 0.258916 0.261542 0.263344 0.264523 0.265257 0.265697 0.265965 0.266143 0.26629 0.266442 0.266636 0.266885 0.267193 0.267557 0.267974 0.268441 0.268961 0.269535 0.270159 0.270824 0.271521 0.27223 0.272948 0.273671 0.274395 0.275121 0.27584 0.276553 0.277252 0.27793 0.278583 0.279209 0.279794 0.280341 0.280833 0.281263 0.281607 0.281849 0.281971 0.281942 0.281914 0.281887 0.28186 0.281834 0.281809 0.281783 0.281758 0.281734 0.28171 0.281687 0.281664 0.281641 0.281619 0.281597 0.281576 0.281556 0.281536 0.281516 0.281497 0.281478 0.281459 0.281442 0.281424 0.281407 0.281391 0.281375 0.281359 0.281344 0.281329 0.281315 0.281301 0.281288 0.281275 0.281262 0.28125 0.281238 0.281227 0.281216 0.281205 0.281195 0.281185 0.281176 0.281167 0.281158 0.281149 0.281141 0.281133 0.281125 0.281118 0.281111 0.281104 0.281097 0.281091 0.281085 0.281079 0.281073 0.281068 0.281063 0.281058 0.281054 0.281049 0.281045 0.281041 0.281037 0.281033 0.28103 0.281027 0.281024 0.281021 0.281018 0.281015 0.281013 0.281012 0.28101 0.281009 0.281008 0.281006 0.281005 0.281004 0.281004 0.281007 0.281011 0.281013 0.281011 0.281003 0.280993 0.280981 0.28097 0.280962 0.280959 0.280962 0.280969 0.280979 0.280994 0.281008 0.281024 0.281042 0.281065 0.281087 0.281107 0.281125 0.281141 0.281155 0.281168 0.28118 0.281191 0.281199 0.281203 0.281203 0.281199 0.28119 0.281177 0.281162 0.281144 0.281125 0.281105 0.281085 0.281064 0.281044 0.281022 0.280999 0.280977 0.280954 0.280932 0.280912 0.280893 0.280873 0.280853 0.280832 0.280812 0.280791 0.28077 0.280747 0.280723 0.280698 0.280673 0.28065 0.28063 0.280613 0.280601 0.280595 0.2806 0.280617 0.280561 ]';
FIR_ASVSTPSGCB_22XIC0518SP_u_wndw0 = [125.993 126 125.999 125.997 125.996 125.996 125.996 125.996 125.996 125.996 125.997 125.997 125.997 125.996 125.996 125.996 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 125.997 126 126 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 125 ]';
FIR_ASVSTPSGCB_22XIC0518SP_y_wndw0 = [2.28338 2.2836 2.28426 2.28501 2.28563 2.28588 2.28586 2.28556 2.28518 2.28497 2.28515 2.28552 2.28586 2.28614 2.28624 2.28611 2.28578 2.28538 2.28509 2.28492 2.28495 2.285 2.28507 2.28499 2.28483 2.2845 2.28419 2.28392 2.28379 2.28377 2.28378 2.28372 2.28368 2.2836 2.28347 2.28333 2.28318 2.28305 2.28306 2.28305 2.28303 2.28305 2.28303 2.28299 2.28293 2.28286 2.28282 2.28286 2.28283 2.28289 2.28293 2.28294 2.28296 2.28296 2.28296 2.28299 2.28299 2.28302 2.28308 2.28313 2.2832 2.28323 2.28327 2.28335 2.28335 2.28342 2.28344 2.28347 2.28353 2.28358 2.28366 2.28368 2.28371 2.28378 2.28377 2.2838 2.28383 2.28388 2.28387 2.2839 2.28392 2.28394 2.28396 2.28399 2.28398 2.28399 2.28399 2.28402 2.28398 2.284 2.28398 2.28397 2.28396 2.28394 2.28393 2.28395 2.28391 2.28389 2.28387 2.28385 2.28383 2.28381 2.2838 2.28378 2.28375 2.28373 2.2837 2.28368 2.28365 2.28363 2.28362 2.2836 2.28357 2.28356 2.28355 2.28351 2.28349 2.28347 2.28346 2.28344 2.28344 2.28342 2.28345 2.28341 2.28339 2.28337 2.28335 2.28337 2.28333 2.28333 2.28332 2.28331 2.28331 2.2833 2.2833 2.28329 2.28329 2.28328 2.28328 2.28327 2.28328 2.28328 2.28328 2.28329 2.28328 2.28326 2.28326 2.28326 2.28327 2.28327 2.28328 2.28326 2.28325 2.28328 2.28325 2.28325 2.28325 2.28326 2.28325 2.28326 2.28329 2.28325 2.28326 2.28327 2.28325 2.28325 2.28329 2.28325 2.28326 2.28325 2.28325 2.28324 2.28324 2.28324 2.28324 2.28323 2.28324 2.28327 2.28326 2.28325 2.28325 2.28327 2.28325 2.28326 2.28324 2.28338 2.28375 2.28109 2.26502 2.21206 2.12771 2.01456 1.94978 1.8964 1.87337 1.8915 1.93414 2.01468 2.09778 2.18877 2.29413 2.38352 2.47332 2.56062 2.65889 2.74578 2.80921 2.8705 2.91786 2.95918 2.99386 3.02184 3.04248 3.05302 3.05246 3.03937 3.0173 2.9881 2.95006 2.91217 2.87267 2.83258 2.78853 2.75285 2.70994 2.67176 2.63451 2.59114 2.55272 2.5156 2.47657 2.44826 2.41773 2.38516 2.35303 2.31741 2.28682 2.25535 2.21967 2.18299 2.14558 2.11125 2.07849 2.04961 2.03381 2.02368 2.01763 2.01432 2.01272 2.13325 2.03603 2.02689 2.02171 2.01976 2.01826 2.01769 2.01764 2.0179 2.01827 2.01858 2.01882 2.01894 2.01907 2.01899 2.01878 2.01847 2.01809 2.01767 2.01723 2.01674 2.01613 2.01546 2.01472 2.01386 2.01312 2.01237 2.01163 2.0109 2.0101 2.00939 2.00861 2.00783 2.00713 2.00643 2.00569 2.0051 2.0044 2.00381 2.00313 2.0026 2.00215 2.00168 ]';
FIR_ASVSTPSGCB_22XIC0518SP_ymod_wndw0 = [2.28338 2.28342 2.28356 2.28391 2.28436 2.28478 2.28491 2.28489 2.28473 2.28444 2.2841 2.28372 2.28337 2.28305 2.28275 2.28248 2.28223 2.28198 2.28173 2.28153 2.28139 2.28128 2.2812 2.28114 2.28109 2.28106 2.28105 2.28107 2.28113 2.28122 2.28132 2.28144 2.28156 2.28167 2.28178 2.28189 2.282 2.2821 2.28221 2.28232 2.28242 2.28253 2.28263 2.28273 2.28282 2.28291 2.28299 2.28309 2.28319 2.28329 2.28338 2.28348 2.28359 2.28369 2.28378 2.28386 2.28393 2.28397 2.284 2.284 2.284 2.28398 2.28396 2.28392 2.28399 2.28404 2.28407 2.28409 2.28409 2.2841 2.2841 2.28411 2.28411 2.28412 2.28413 2.28414 2.28415 2.28416 2.28417 2.28417 2.28418 2.28419 2.2842 2.28421 2.28422 2.28423 2.28424 2.28424 2.28425 2.28426 2.28427 2.28428 2.28429 2.2843 2.28431 2.28431 2.28432 2.28433 2.28434 2.28435 2.28435 2.28436 2.28437 2.28437 2.28438 2.28438 2.28439 2.2844 2.2844 2.28441 2.28441 2.28441 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28442 2.28443 2.28443 2.28443 2.28443 2.28443 2.28443 2.28443 2.28443 2.28443 2.28443 2.28443 2.28443 2.28443 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28444 2.28445 2.28445 2.28445 2.28445 2.28445 2.28447 2.28455 2.27877 2.25581 2.19845 2.11489 2.02025 1.95595 1.91263 1.89857 1.91763 1.96348 2.03393 2.11536 2.20456 2.29898 2.39008 2.47944 2.56703 2.65327 2.73159 2.79835 2.85637 2.90494 2.94547 2.97833 3.00341 3.02017 3.02775 3.02576 3.01435 2.99477 2.96838 2.93652 2.90146 2.86424 2.82566 2.78622 2.74724 2.70781 2.66887 2.63018 2.59139 2.5536 2.51692 2.48141 2.4478 2.41484 2.38197 2.34911 2.31613 2.28357 2.25101 2.21824 2.18581 2.15453 2.12547 2.09951 2.07774 2.06126 2.04977 2.04287 2.04026 2.04198 2.04836 2.04116 2.03485 2.0299 2.02626 2.02364 2.02184 2.02066 2.01992 2.01948 2.01922 2.01904 2.01889 2.01874 2.01855 2.0183 2.01799 2.01763 2.01722 2.01675 2.01623 2.01566 2.01504 2.01438 2.01368 2.01297 2.01226 2.01154 2.01082 2.01009 2.00938 2.00866 2.00797 2.00729 2.00664 2.00602 2.00543 2.00489 2.0044 2.00397 2.00362 2.00338 2.00326 ]';
figure(1)
subplot(2,1,1)
plot(FIR_ASVSTPSGCB_22XIC0518SP_uraw)
grid
xlabel('22XIC0518SP raw data');
title('Data for ASVSTPSGCB and 22XIC0518SP');
subplot(2,1,2)
plot([FIR_ASVSTPSGCB_22XIC0518SP_yraw FIR_ASVSTPSGCB_22XIC0518SP_yfilt])
grid
xlabel('ASVSTPSGCB raw and filtered');
figure(2)
subplot(3,1,1)
plot(FIR_ASVSTPSGCB_22XIC0518SP_u)
grid
xlabel('22XIC0518SP');
title('Modeling ASVSTPSGCB from steps in 22XIC0518SP');
subplot(3,1,2)
plot([FIR_ASVSTPSGCB_22XIC0518SP_y FIR_ASVSTPSGCB_22XIC0518SP_ymod])
grid
xlabel('ASVSTPSGCB measured and model');
subplot(3,1,3)
plot(FIR_ASVSTPSGCB_22XIC0518SP)
xlabel('Step response');

figure(3)
subplot(2,1,1)
plot(FIR_ASVSTPSGCB_22XIC0518SP_u_wndw0)
grid
xlabel('22XIC0518SP');
title('Data window #1: Modeling ASVSTPSGCB from steps in 22XIC0518SP');
subplot(2,1,2)
plot([FIR_ASVSTPSGCB_22XIC0518SP_y_wndw0 FIR_ASVSTPSGCB_22XIC0518SP_ymod_wndw0])
grid
xlabel('ASVSTPSGCB measured and model');

% MATLAB SCRIPT ENDS .......

