Documentation Center

  • Trials
  • Product Updates

Parallel Computing Toolbox Examples

Parallel For Loops (PARFOR)

Simple Benchmarking of PARFOR Using BlackjackScript

Tutorials

Customizing the Settings for the Examples in the Parallel Computing Toolbox™Script
Dividing MATLAB® Computations into TasksScript
Writing Task FunctionsScript
Minimizing Network TrafficScript
Using Callback FunctionsScript
Using GOP to Achieve MPI_Allreduce FunctionalityScript
Using the Parallel Profiler in PmodeScript

Benchmarks

Benchmark the Client MachineScript
Distributed BenchmarkScript
Simple Benchmarking of PARFOR Using BlackjackScript
Resource Contention in Task Parallel ProblemsScript
Benchmarking Independent Jobs on the ClusterScript
Benchmarking A\bScript
Benchmarking A\b on the GPUScript

GPU

Using FFT on the GPU for Spectral AnalysisScript
Using FFT2 on the GPU to Simulate Diffraction PatternsScript
Improve Performance of Element-wise MATLAB® Functions on the GPU using ARRAYFUNScript
Measuring GPU PerformanceScript
Benchmarking A\b on the GPUScript
Selecting a GPU Device and Examining its PropertiesScript
Generating Random Numbers on a GPUScript
Illustrating Three Approaches to GPU Computing: The Mandelbrot SetScript
Using GPU ARRAYFUN for Monte-Carlo SimulationsScript
Stencil Operations on a GPUScript
Accessing Advanced CUDA Features Using MEXScript

Parallel Profiler Demos

Profiling Parallel Work DistributionScript
Profiling Explicit Parallel CommunicationScript
Profiling Load Unbalanced Codistributed ArraysScript

Blackjack

Sequential BlackjackScript
Distributed BlackjackScript
Parfeval BlackjackScript

Estimating Pi

Numerical Estimation of Pi Using Message PassingScript

Gene Sequence Alignment

Sequential Analysis of the Origin of the Human Immunodeficiency Virus
Uses: Bioinformatics, Statistics
Script
Distributed Analysis of the Origin of the Human Immunodeficiency Virus
Uses: Bioinformatics, Statistics
Script

Marginal Value-at-Risk Assessment

Sequential Marginal Value-at-Risk Simulation
Uses: Statistics
Script
Distributed Marginal Value-at-Risk Simulation
Uses: Statistics
Script

Portfolio Optimization

Sequential Portfolio Optimization
Uses: Optimization
Script
Distributed Portfolio Optimization
Uses: Optimization
Script

Radar Tracking Simulations

Sequential Radar Tracking Simulation
Uses: Simulink
Script
Distributed Radar Tracking Simulation
Uses: Simulink
Script
Was this topic helpful?