Difference between revisions of "Polar2cartesian.m"
(Created page with "Converts [RF_amplitude, RF_phase] representation of a pulse waveform and the derivatives of any function with respect to those amplitudes and pha- ses into the [RF_x, RF_y] re...") |
(Update function See also links and function index membership) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | Converts [RF_amplitude, RF_phase] representation of a pulse waveform and | + | {{DISPLAYTITLE:polar2cartesian.m}} __NOTOC__ |
| − | the derivatives of any function with respect to those amplitudes and | + | Converts [RF_amplitude, RF_phase] representation of a pulse waveform and the derivatives of any function with respect to those amplitudes and phases into the [RF_x, RF_y] representation and the derivatives of the function with respect to those X and Y RF values. |
| − | |||
| − | |||
| − | + | ==Syntax== | |
| − | + | [x,y,Dx,Dy,Dxx,Dxy,Dyx,Dyy]=polar2cartesian(r,p,Dr,Dp,Drr,Drp,Dpr,Dpp) | |
| − | + | ==Parameters== | |
| − | + | r - vector of waveform amplitudes | |
| + | |||
| + | p - vector of waveform phases | ||
| + | |||
| + | Dr - optional vector of derivatives of some scalar function | ||
| + | with respect to the waveform amplitudes. | ||
| + | |||
| + | Dp - optional vector of derivatives of some scalar function | ||
| + | with respect to the waveform phases. | ||
| + | |||
| + | Drr - matrix of second derivatives of the function with respect | ||
| + | to the waveform amplitudes. | ||
| + | |||
| + | Drp - matrix of second derivatives of the function with respect | ||
| + | to the waveform amplitudes and phases. | ||
| + | |||
| + | Dpr - matrix of second derivatives of the function with respect | ||
| + | to the waveform phases and amplitudes. | ||
| + | |||
| + | Dpp - matrix of second derivatives of the function with respect | ||
| + | to the waveform phases. | ||
| − | + | ==Outputs== | |
| − | |||
| − | + | x - vector of waveform amplitudes along X | |
| − | + | ||
| + | y - vector of waveform amplitudes along Y | ||
| + | |||
| + | Dx - vector of derivatives of the function with respect to | ||
| + | the waveform amplitudes along X | ||
| + | |||
| + | Dy - vector of derivatives of the function with respect to | ||
| + | the waveform amplitudes along Y | ||
| + | |||
| + | Dxx - optional matrix of second derivatives of a scalar function | ||
| + | with respect to the waveform amplitudes along X | ||
| + | |||
| + | Dxy - optional matrix of second derivatives of a scalar function | ||
| + | with respect to the waveform amplitudes along X and Y | ||
| + | |||
| + | Dyx - optional matrix of second derivatives of a scalar function | ||
| + | with respect to the waveform amplitudes along Y and X | ||
| + | |||
| + | Dyy - optional matrix of second derivatives of a scalar function | ||
| + | with respect to the waveform amplitudes along Y | ||
| − | + | ==See also== | |
| − | + | [[cartesian2polar.m]], [[shaped_pulse_xy.m]], [[shaped_pulse_af.m]], [[bruker_write.m]], [[chirp_pulse.m]], [[grad_pulse.m]], [[grad_sandw.m]], [[pmlg5.m]], [[pulse_shape.m]], [[read_wave.m]], [[restrans.m]], [[rseq_compiler.m]], [[rsequence.m]], [[sawtooth.m]], [[sech_pulse.m]], [[spinal.m]], [[triwave.m]], [[vg_pulse.m]], [[wave_basis.m]], [[Kernel_functions]] | |
| − | + | ''Version 2.4, authors: [[David Goodwin]], [[Ilya Kuprov]]'' | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 19:39, 6 June 2026
Converts [RF_amplitude, RF_phase] representation of a pulse waveform and the derivatives of any function with respect to those amplitudes and phases into the [RF_x, RF_y] representation and the derivatives of the function with respect to those X and Y RF values.
Syntax
[x,y,Dx,Dy,Dxx,Dxy,Dyx,Dyy]=polar2cartesian(r,p,Dr,Dp,Drr,Drp,Dpr,Dpp)
Parameters
r - vector of waveform amplitudes
p - vector of waveform phases
Dr - optional vector of derivatives of some scalar function
with respect to the waveform amplitudes.
Dp - optional vector of derivatives of some scalar function
with respect to the waveform phases.
Drr - matrix of second derivatives of the function with respect
to the waveform amplitudes.
Drp - matrix of second derivatives of the function with respect
to the waveform amplitudes and phases.
Dpr - matrix of second derivatives of the function with respect
to the waveform phases and amplitudes.
Dpp - matrix of second derivatives of the function with respect
to the waveform phases.
Outputs
x - vector of waveform amplitudes along X
y - vector of waveform amplitudes along Y
Dx - vector of derivatives of the function with respect to
the waveform amplitudes along X
Dy - vector of derivatives of the function with respect to
the waveform amplitudes along Y
Dxx - optional matrix of second derivatives of a scalar function
with respect to the waveform amplitudes along X
Dxy - optional matrix of second derivatives of a scalar function
with respect to the waveform amplitudes along X and Y
Dyx - optional matrix of second derivatives of a scalar function
with respect to the waveform amplitudes along Y and X
Dyy - optional matrix of second derivatives of a scalar function
with respect to the waveform amplitudes along Y
See also
cartesian2polar.m, shaped_pulse_xy.m, shaped_pulse_af.m, bruker_write.m, chirp_pulse.m, grad_pulse.m, grad_sandw.m, pmlg5.m, pulse_shape.m, read_wave.m, restrans.m, rseq_compiler.m, rsequence.m, sawtooth.m, sech_pulse.m, spinal.m, triwave.m, vg_pulse.m, wave_basis.m, Kernel_functions
Version 2.4, authors: David Goodwin, Ilya Kuprov