no_dist.m

From Spinach Documentation Wiki
Revision as of 11:13, 17 May 2025 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:no_dist.m}} __NOTOC__ A distortion function that applies no distortion and therefore has a unit Jacobian. ==Syntax== [w,J]=no_dist(w) ==Arguments==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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