Chapter 11. Real-World Engineering Application

This chapter discusses how to generate a sawtooth signal or curve. These wave shapes are often displayed on oscilloscopes in engineering, and science labs, and in textbooks. In this chapter, you will learn:

  • How to write and run the serial sawtooth Fourier series code, and same for the MPI version of said serial signal code

MPI Fourier series sawtooth signal

We will now generate such a signal by first writing, and running the serial Fourier series sawtooth code, and then apply MPI technique to the sawtooth Fourier series equation depicted here:

MPI Fourier series sawtooth signal

The serial sawtooth(x) code is depicted on the following pages. ...

Get Build Supercomputers with Raspberry Pi 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.