Question: Import into MATLAB the data from file data_p1.txt. The data consists of a matrix with five columns. The last one is the time vector, and

Import into MATLAB the data from file data_p1.txt. The data consists of a matrix with five columns. The last one is the time vector, and the first four are vectors 1, 2, 3, and 4. Extract from the last column the value of , , and , for the time vector in Simulink. Plot the signals 1, and 2 in Simulink using a block, and plot type , and the rest of the signals using a second , with plot type . For both scopes use a layout similar to command in MATLAB.

0 0 10.0000 2.4142 0 0.3524 0.1637 3.5320 2.1753 0.2000 0.5873 0.2681 2.3894 1.9752 0.4000 0.6905 0.3293 1.9932 1.7788 0.6000 0.6700 0.3595 1.8285 1.5738 0.8000 0.5515 0.3679 1.7506 1.3568 1.0000 0.3707 0.3614 1.7013 1.1293 1.2000 0.1664 0.3452 1.6521 0.8954 1.4000 - 0.0262 0.3230 1.5878 0.6609 1.6000 - 0.1799 0.2975 1.5002 0.4322 1.8000 - 0.2784 0.2707 1.3855 0.2163 2.0000 - 0.3168 0.2438 1.2433 0.0201 2.2000 - 0.3000 0.2177 1.0755 -0.1502 2.4000 - 0.2408 0.1931 0.8859 -0.2889 2.6000 - 0.1557 0.1703 0.6798 -0.3917 2.8000 - 0.0623 0.1494 0.4637 -0.4555 3.0000 0.0235 0.1304 0.2447 -0.4784 3.2000 0.0903 0.1135 0.0302 -0.4604 3.4000 0.1312 0.0984 -0.1723 -0.4029 3.6000 0.1448 0.0850 -0.3554 -0.3087 3.8000 0.1339 0.0733 -0.5129 -0.1822 4.0000 0.1047 0.0630 -0.6390 -0.0290 4.2000 0.0648 0.0540 -0.7294 0.1444 4.4000 0.0223 0.0462 -0.7809 0.3307 4.6000 - 0.0158 0.0395 -0.7921 0.5219 4.8000 - 0.0447 0.0337 -0.7628 0.7101 5.0000 - 0.0615 0.0287 -0.6948 0.8874 5.2000 - 0.0659 0.0244 -0.5909 1.0464 5.4000 - 0.0595 0.0207 -0.4558 1.1805 5.6000 - 0.0453 0.0176 -0.2951 1.2839 5.8000 - 0.0267 0.0149 -0.1155 1.3524 6.0000 - 0.0075 0.0126 0.0756 1.3829 6.2000 0.0094 0.0106 0.2704 1.3739 6.4000 0.0218 0.0090 0.4608 1.3255 6.6000 0.0287 0.0076 0.6390 1.2395 6.8000 0.0299 0.0064 0.7978 1.1191 7.0000 0.0264 0.0054 0.9307 0.9687 7.2000 0.0195 0.0045 1.0320 0.7943 7.4000 0.0109 0.0038 1.0978 0.6026 7.6000 0.0022 0.0032 1.1251 0.4011 7.8000 - 0.0053 0.0027 1.1128 0.1975 8.0000 - 0.0106 0.0023 1.0612 -0.0001 8.2000 - 0.0133 0.0019 0.9722 -0.1841 8.4000 - 0.0135 0.0016 0.8493 -0.3472 8.6000 - 0.0116 0.0013 0.6973 -0.4832 8.8000 - 0.0083 0.0011 0.5220 -0.5867 9.0000 - 0.0044 0.0009 0.3304 -0.6538 9.2000 - 0.0005 0.0008 0.1300 -0.6819 9.4000 0.0028 0.0007 -0.0712 -0.6700 9.6000 0.0051 0.0005 -0.2655 -0.6188 9.8000 0.0062 0.0005 -0.4450 -0.5305 10.0000 0.0061 0.0004 -0.6028 -0.4086 10.2000 0.0051 0.0003 -0.7326 -0.2581 10.4000 0.0035 0.0003 -0.8293 -0.0852 10.6000

0.0017 0.0002 -0.8892 0.1032 10.8000 - 0.0000 0.0002 -0.9099 0.2993 11.0000 - 0.0015 0.0002 -0.8907 0.4954 11.2000 - 0.0024 0.0001 -0.8324 0.6834 11.4000 - 0.0028 0.0001 -0.7374 0.8558 11.6000 - 0.0027 0.0001 -0.6095 1.0056 11.8000 - 0.0022 0.0001 -0.4539 1.1267 12.0000 - 0.0015 0.0001 -0.2769 1.2142 12.2000 - 0.0007 0.0001 -0.0856 1.2646 12.4000 0.0001 0.0000 0.1124 1.2757 12.6000 0.0007 0.0000 0.3090 1.2470 12.8000 0.0011 0.0000 0.4965 1.1796 13.0000 0.0013 0.0000 0.6673 1.0761 13.2000 0.0012 0.0000 0.8144 0.9404 13.4000 0.0010 0.0000 0.9322 0.7780 13.6000 0.0006 0.0000 1.0156 0.5953 13.8000 0.0002 0.0000 1.0615 0.3994 14.0000 - 0.0001 0.0000 1.0680 0.1980 14.2000 - 0.0004 0.0000 1.0346 -0.0008 14.4000 - 0.0005 0.0000 0.9628 -0.1891 14.6000 - 0.0006 0.0000 0.8554 -0.3597 14.8000 - 0.0005 0.0000 0.7165 -0.5057 15.0000 - 0.0004 0.0000 0.5518 -0.6214 15.2000 - 0.0003 0.0000 0.3676 -0.7022 15.4000 - 0.0001 0.0000 0.1714 -0.7450 15.6000 0.0001 0.0000 -0.0290 -0.7481 15.8000 0.0002 0.0000 -0.2258 -0.7115 16.0000 0.0003 0.0000 -0.4111 -0.6367 16.2000 0.0003 0.0000 -0.5775 -0.5267 16.4000 0.0002 0.0000 -0.7185 -0.3860 16.6000 0.0002 0.0000 -0.8284 -0.2203 16.8000 0.0001 0.0000 -0.9029 -0.0361 17.0000 0.0000 0.0000 -0.9391 0.1590 17.2000 - 0.0000 0.0000 -0.9355 0.3573 17.4000 - 0.0001 0.0000 -0.8923 0.5508 17.6000 - 0.0001 0.0000 -0.8113 0.7317 17.8000 - 0.0001 0.0000 -0.6957 0.8928 18.0000 - 0.0001 0.0000 -0.5502 1.0276 18.2000 - 0.0001 0.0000 -0.3805 1.1307 18.4000 - 0.0000 0.0000 -0.1935 1.1978 18.6000 - 0.0000 0.0000 0.0034 1.2264 18.8000 0.0000 0.0000 0.2022 1.2152 19.0000 0.0000 0.0000 0.3951 1.1645 19.2000 0.0001 0.0000 0.5743 1.0765 19.4000 0.0001 0.0000 0.7327 0.9544 19.6000 0.0000 0.0000 0.8639 0.8033 19.8000 0.0000 0.0000 0.9627 0.6289 20.0000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!