matlab_fast_2010_fsu
matlab_fast_2010_fsu,
the Latex files for two lectures
on measuring program performance, optimizing programs, and
estimating program complexity, presented at Florida State University,
in the Department of Scientific Computing, to the class
ISC 3222-01, "Symbolic and Numeric Calculations",
Professor Ming Ye, 11:15am-12:05pm, 152 DSL, 19 and 22 November 2010.
The files used for this presentation include
-
array1.m,
a MATLAB script that fills an array with values using two FOR loops.
-
array1_first.m,
a MATLAB script that measures and plots the time required
to fill arrays of increasing size.
-
array1_first.png,
graphs the execution time for the ARRAY1 program, run once.
-
array1_second.png,
graphs the execution time for the ARRAY1 program, run a second time.
-
array1_twice.m,
a MATLAB script that measures and plots the time required
to fill arrays of increasing size, carrying out the operations
twice.
-
array1_twice.png,
graphs the execution time for the ARRAY1 program, run twice in a row.
-
array1_vector.m,
a MATLAB script that measures and plots the time required
to fill arrays of increasing size, repeating the calculations
using a vectorized command.
-
big_cavity_nodes.txt,
the node coordinates for BIG_CAVITY.
-
big_cavity_elements.txt,
the triangulation for BIG_CAVITY;
-
box3_nodes.txt,
the node coordinates for BOX3.
-
box3_elements.txt,
the triangulation for BOX3;
-
compute_old.m,
the (compressed) text of the COMPUTE_OLD function from the MD program.
-
dot_product_graph.m,
a MATLAB script which carries out dot product calculations.
-
dot_product_graph1.png,
graphs the execution time for the dot product calculation.
-
dot_product_graph2.png,
graphs the execution time for the dot product calculation
when we include much larger problems.
-
ell3_edges.txt,
a text file listing the pair of nodes forming a side of each triangle
(in ascending order), and the index of the triangle, for the ELL3
triangulation. This file can be analyzed to determine the triangles
that are neighbors of a given triangle.
-
ell3_element_neighbors.txt,
the list of neighbors of each triangle in the ELL3 triangulation,
produced by the TRIANGULATION_TRIANGLE_NEIGHBORS program.
-
ell3_elements.txt,
the list of nodes that form each triangle in the ELL3 triangulation.
-
ell3_nodes.png,
a PNG image of the nodes in the ELL3 triangulation.
-
ell3_nodes.txt,
the coordinates of the nodes in the ELL3 triangulation.
-
ell3_nodes2.png,
a PNG image, showing how triangles are formed from
the nodes in the ELL3 triangulation.
-
ell3_triangulation.png,
a PNG image of the triangles in the ELL3 triangulation.
which includes their labels.
-
floyd_graph.m,
a MATLAB program which measures and plots the time required by
Floyd's algorithm for a sequence of graphs of increasing size.
-
floyd_graph1.png,
a graph of a timing for Floyd's algorithm using a linear scale.
-
floyd_graph2.png,
a graph of a timing for Floyd's algorithm using a logarithmic scale.
-
floyd_illustration.png,
a PNG image which illustrates the problem of finding the shortest
distance between two points on a graph.
-
fsu_logo.pdf,
a PDF image of a logo.
-
greenland_elements.txt,
the triangulation for the GREENLAND triangulation;
-
greenland_nodes.txt,
the node coordinates for the GREENLAND triangulation.
-
greenland_triangulation.png,
a PNG image of a small part of a triangulation of Greenland.
-
heapsort_graph.m,
a MATLAB program which measures and plots the time required
by the heapsort algorithm on a sequence of vectors of increasing size.
-
historical_performance.png,
a historical graph of the computational performance of supercomputers.
-
jaguar.png,
an image of the Jaguar supercomputer at Oak Ridge National Laboratory,
the world's most powerful computer until November, 2010.
-
lake_coarse_elements.txt,
the triangulation for the LAKE_COARSE triangulation;
-
lake_coarse_nodes.txt,
the node coordinates for the LAKE_COARSE triangulation.
-
linpack_bench.m,
a MATLAB version of the LINPACK benchmark.
-
linpack_bench_backslash.m,
a MATLAB version of the LINPACK benchmark using the BACKSLASH command.
-
matlab_bench.png,
an image of the report from MATLAB's BENCH command, which compares
your computer's performance on a set of standard calculations, to
the performances of other commonly used workstations.
-
md.m,
a copy of the MATLAB program MD used in some of the discussions.
-
md.png,
an image of the kind of freely moving molecules modeled by MD.
-
md_profile.png,
an image of part of the performance report for the MD program,
produced by MATLAB's PROFILE command.
-
md_profile2.png,
an image of part of the performance report for the MD program,
produced by MATLAB's PROFILE command, and concentrating on the
COMPUTE_OLD function.
-
sort_graph.m,
a MATLAB program which measures and plots the time required
by the MATLAB sort command on a sequence of vectors of increasing size.
-
tianhe_article.png,
an image of a newspaper article about the record-breaking
supercomputer at China's Tianhe university.
-
ticker.m,
a MATLAB script which demonstrates a simple use of the TIC and
TOC timing functions.
-
triangulation_display.m,
a MATLAB program which can display a triangulation.
-
triangulation_triangle_neighbors.m,
a MATLAB program which can determine neighbor triangles in a triangulation.
Last revised on 01 February 2024.