Professional Documents
Culture Documents
csv
aircraft_takeoff.csv
piezo_100Hz.csv
dc_100_hz.csv
car_engine.csv
commute.csv
aircraft.csv
Filename
Number of Data Points 22,829 300,013 1,124,434 1,200,048 2,465,342 3,068,583 11,553,414
CSV File Size (MB) 0.32 4.10 16.90 18.30 33.80 42.50 174.00
Load Time 0.06 0.31 1.13 1.18 2.34 2.93 11.22 MATLAB vs Python - Lo
Plot Time 0.11 0.16 0.32 0.34 0.56 0.71 2.35 100.00
MATL
MATLAB
Compute RMS and Plot 0.07 0.07 0.13 0.09 0.19 0.19 0.42
Average
AB
Compute FFT and Plot 0.06 0.21 0.24 0.35 0.61 0.67 2.10 10.00
Python
Total 0.29 0.74 1.81 1.95 3.70 4.50 16.09
Time (s)
Load Time 0.13 1.85 7.38 7.58 15.85 20.15 75.68 1.00
Python Average
Number of
Load Time 0.06 0.28 1.13 1.2 2.32 2.92 11.01
Plot Time 0.11 0.16 0.29 0.34 0.56 0.69 2.48
Attempt 1
MATLAB
Compute RMS and Plot 0.07 0.07 0.13 0.08 0.2 0.18 0.47
Compute FFT and Plot 0.06 0.28 0.26 0.41 0.66 0.71 2.25 MATLAB vs Python - Com
Total 0.30 0.79 1.81 2.03 3.74 4.50 16.21 1,000.00
Load Time 0.06 0.33 1.12 1.15 2.36 2.94 11.43 MATL
AB
Plot Time 0.10 0.15 0.34 0.33 0.56 0.73 2.22 100.00
Python
Attempt 2
ATLAB After MATLAB
Compute RMS and Plot 0.06 0.07 0.12 0.09 0.17 0.2 0.37
10.00
Time (s)
Compute FFT and Plot 0.06 0.13 0.22 0.29 0.56 0.62 1.94
Total 0.28 0.68 1.80 1.86 3.65 4.49 15.96 1.00
Load Time 0.29 0.65 2.25 1.81 4.24 4.95 13.03
0.10
0.01
estart
Time (s)
1.00
Python with the numpy.loadtxt() instead of ndfromtxt() & numpy.fft() instead of rfft()
Python AtLoad Time 0.377 5.366 19.95 22.63 46.37 53.74 223.98
2.69 2.75 2.77 3.04 2.97 2.67 2.88
Compute FFT and Plot 0.07 7.13 2.11 0.86 146.37 5.40 82.96
0.73 1.00 1.00 1.00 1.00 1.00 1.00
Python AtLoad Time 0.361 5.53 20.756 22.87 46.63 56.33 208.21
2.93 3.18 2.75 2.96 2.90 2.79 2.83
Compute FFT and Plot 0.10 6.67 2.23 0.79 144.34 5.04 84.12
1.00 1.00 1.00 1.00 1.00 1.00 1.00
ATLAB vs Python - Loading CSV MATLAB vs Python - Plotting Data
100.00 10.00
MATL MATLA
AB B
10.00
Python Python
Time (s)
1.00 1.00
0.10
0.01 0.10
10,000 100,000 1,000,000 10,000,000 100,000,000 10,000 100,000 1,000,000 10,000,000 100,000,000
Number of Data Points Number of Data Points
ATLAB vs Python
29 - Computing a FFT MATLAB vs Python - Executing a For Loop
1,000.00 1.00
MATL MATLA
AB B
100.00
Python Python
10.00
Time (s)
Time (s)
0.10
1.00
0.10
0.01 0.01
10,000 100,000 1,000,000 10,000,000 100,000,000 10,000 100,000 1,000,000 10,000,000 100,000,000
10.00
Time (s)
Time (s)
0.10
1.00
0.10
0.01 0.01
10,000 100,000 1,000,000 10,000,000 100,000,000 10,000 100,000 1,000,000 10,000,000 100,000,000
Number of Data Points Number of Data Points
Vibe-LOG-0002-025G-DC-PC.IDE
Airplane_Take_Off.IDE
Aircraft_Vibration.IDE
10g_100Hz_60sec.IDE
Random_Y.IDE
Commute.IDE
Filename
File Size (MB) 1.86 6.94 7.83 14.20 17.60 69.10
Conversion to MAT Time 11.43 18.38 33.68 32.80 38.69 163.54
Load/Plot/Analyze Time 10.31 3.38 5.12 6.27 6.28 6.03
Save Calibrated Channel Time 0.22 0.76 1.08 2.13 2.09 14.37
Save sub-channel Time 0.67 1.93 3.11 3.87 4.16 27.55
random_vibration.mat
aircraft_takeoff.mat
piezo_100Hz.mat
car_engine.mat
dc_100_hz.mat
commute.mat
aircraft.mat
Filename
MAT File Size (MB) 0.15 1.51 4.64 5.20 12.30 15.10 54.20
Number of Data Points 22,800 300,000 1,120,000 1,200,000 2,470,000 3,070,000 11,600,000
Load Time 0.01 0.06 0.26 0.23 0.56 0.82 2.44
Save Time 1.06 15.72 54.93 58.03 125.20 151.89 554.79
CSV File Size (MB) 0.32 4.10 16.90 18.30 33.80 42.50 174.00
CSV File Size Multiplier 2.18 2.72 3.64 3.52 2.75 2.81 3.21