no_dist.m

From Spinach Documentation Wiki
Revision as of 11:28, 25 April 2026 by Kuprov (talk | contribs) (Normalise sequential blank lines)
Jump to: navigation, search

A distortion function that applies no distortion and therefore has a unit Jacobian.

Syntax

   [w,J]=no_dist(w)

Arguments

   w         - waveform, a numerical array

Outputs

   w         - the same waveform as the input

   J         - a sparse unit matrix with the dimension 
               matching the vectorisation of the input

See also

Optimal_control_function_list:_distortions_and_penalties

Version 2.11, authors: Uluk Rasulov, Ilya Kuprov