Data Arrangement in Matrix form

3 views (last 30 days)
AMAN GUPTA
AMAN GUPTA on 31 Mar 2022
Commented: AMAN GUPTA on 31 Mar 2022
I am attaching a matlab file in which I am getting temperature value at 132 point for 2911 files. I want these data in matrix from of size 132*2911 in excel sheet so that i can further use this data. Please help me to tackle this problem

Accepted Answer

Stephen23
Stephen23 on 31 Mar 2022
S = load('matlab.mat')
S = struct with fields:
A: [132×71×41 double]
B = reshape(S.A,132,2911)
B = 132×2911
337.9269 337.9226 337.9134 337.9078 337.9092 337.8970 337.8886 337.8791 337.8721 337.8599 337.8548 337.8527 337.8471 337.8243 337.8140 337.8080 337.8046 337.7875 337.7856 337.7696 337.7650 337.7567 337.7435 337.7362 337.7299 337.7211 337.7093 337.6993 337.6795 337.6871 336.2350 336.2413 336.2417 336.2451 336.2548 336.2541 336.2551 336.2552 336.2573 336.2562 336.2626 336.2663 336.2717 336.2595 336.2589 336.2624 336.2698 336.2610 336.2709 336.2635 336.2682 336.2719 336.2701 336.2688 336.2724 336.2720 336.2708 336.2717 336.2621 336.2785 334.2384 334.2534 334.2631 334.2758 334.2925 334.3040 334.3140 334.3233 334.3353 334.3412 334.3565 334.3699 334.3861 334.3836 334.3922 334.4057 334.4228 334.4234 334.4423 334.4456 334.4597 334.4726 334.4811 334.4882 334.5013 334.5101 334.5192 334.5303 334.5299 334.5554 332.6050 332.6242 332.6396 332.6584 332.6796 332.6982 332.7136 332.7293 332.7478 332.7590 332.7790 332.7979 332.8218 332.8253 332.8392 332.8600 332.8826 332.8897 332.9138 332.9235 332.9436 332.9641 332.9776 332.9914 333.0108 333.0258 333.0414 333.0600 333.0665 333.0976 331.4957 331.5166 331.5341 331.5562 331.5796 331.6014 331.6195 331.6385 331.6604 331.6736 331.6952 331.7178 331.7449 331.7520 331.7683 331.7925 331.8177 331.8286 331.8546 331.8677 331.8908 331.9147 331.9305 331.9484 331.9710 331.9889 332.0076 332.0288 332.0400 332.0737 331.0074 331.0287 331.0468 331.0704 331.0943 331.1170 331.1364 331.1569 331.1804 331.1949 331.2164 331.2408 331.2689 331.2777 331.2946 331.3205 331.3466 331.3594 331.3856 331.3998 331.4245 331.4492 331.4655 331.4858 331.5094 331.5291 331.5489 331.5713 331.5840 331.6190 331.1274 331.1480 331.1653 331.1892 331.2136 331.2355 331.2551 331.2757 331.2996 331.3138 331.3343 331.3590 331.3868 331.3958 331.4122 331.4381 331.4640 331.4773 331.5025 331.5168 331.5411 331.5657 331.5811 331.6027 331.6258 331.6454 331.6645 331.6865 331.6995 331.7352 331.7908 331.8097 331.8252 331.8478 331.8714 331.8908 331.9089 331.9280 331.9509 331.9636 331.9816 332.0058 332.0315 332.0390 332.0530 332.0770 332.1011 332.1132 332.1358 332.1492 332.1718 332.1933 332.2061 332.2278 332.2484 332.2670 332.2836 332.3033 332.3145 332.3480 333.0759 333.0910 333.1021 333.1215 333.1426 333.1574 333.1720 333.1875 333.2074 333.2165 333.2305 333.2520 333.2732 333.2769 333.2862 333.3067 333.3262 333.3351 333.3533 333.3627 333.3815 333.3981 333.4061 333.4260 333.4418 333.4564 333.4680 333.4833 333.4902 333.5225 334.9226 334.9308 334.9352 334.9480 334.9630 334.9696 334.9776 334.9862 334.9993 335.0016 335.0084 335.0248 335.0379 335.0341 335.0356 335.0490 335.0607 335.0628 335.0737 335.0763 335.0881 335.0958 335.0959 335.1109 335.1186 335.1268 335.1302 335.1374 335.1364 335.1614

More Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!