About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

scripts default iconEstimated time analysis (Scripts) Publisher's description

This function estimates the remaining and the total time of a for loop

This function estimates the remaining and the total time of a for loop. The only arguments are the current and the last index(-ices) index of the for loop. When having multiple loops, it calculates the final estimate using the current inner loop timings. Therefore, in multiple loops it's indeed accurate when the outer loops perform the same number of iterations. The function prints by default the remaining and total time and also these values back.

In the current version the function only accounts for +1 incremental loops. In future versions there will be some extra options for considering more general loops as well. However, you can still use that for these loops as well with a proper assignment of the input arguments.

The current file has been massively tested in all the code I have written myself and works very well. However, there might be some printing "issues", depending on the Matlab version. In that case, please tell me so to fix it.

Example 1:
a = randi(10, 1000, 100) ;
for i = 1 : 1000
eta(i, 1000) ;
s = sum(a(i, :)) ;

Example 2:
a = randi(10, 20, 100) ;
for i = 1 : 20
for j = 1 : 100
eta([i, j], [20, 100], true) ;
s = a(i, j) ^ 2 ;

System Requirements:

MATLAB 7.10 (2010a)
Program Release Status: New Release
Program Install Support: Install and Uninstall

Estimated time analysis (Scripts) Tags:

Click on a tag to find related softwares

Is Estimated time analysis (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.