Difference between revisions of "Triwave.m"
(→See also) |
(Update function See also links and function index membership) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
waveform=triwave(amplitude,frequency,time_grid) | waveform=triwave(amplitude,frequency,time_grid) | ||
| − | == | + | ==Parameters== |
amplitude - amplitude at the tooth top | amplitude - amplitude at the tooth top | ||
| Line 28: | Line 28: | ||
==See also== | ==See also== | ||
| − | [[chirp_pulse.m]], [[pulse_shape.m]], [[sawtooth.m]], [[vg_pulse.m]], [[shaped_pulse_xy.m]], [[shaped_pulse_af.m]] | + | [[chirp_pulse.m]], [[pulse_shape.m]], [[sawtooth.m]], [[vg_pulse.m]], [[shaped_pulse_xy.m]], [[shaped_pulse_af.m]], [[bruker_write.m]], [[cartesian2polar.m]], [[grad_pulse.m]], [[grad_sandw.m]], [[pmlg5.m]], [[polar2cartesian.m]], [[read_wave.m]], [[restrans.m]], [[rseq_compiler.m]], [[rsequence.m]], [[sech_pulse.m]], [[spinal.m]], [[wave_basis.m]], [[Kernel_functions]] |
| − | |||
| − | [[Kernel_functions | ||
| − | |||
''Version 2.4, authors: [[Ilya Kuprov]]'' | ''Version 2.4, authors: [[Ilya Kuprov]]'' | ||
Latest revision as of 19:42, 6 June 2026
Returns a triangular waveform.
Syntax
waveform=triwave(amplitude,frequency,time_grid)
Parameters
amplitude - amplitude at the tooth top
frequency - waveform frequency, Hz
time_grid - grid of time points, seconds
Outputs
waveform - waveform array of the same shape
as the time_grid input
Examples
>> t=linspace(0,1,1000); >> w=triwave(1,10,t); >> plot(t,w);
See also
chirp_pulse.m, pulse_shape.m, sawtooth.m, vg_pulse.m, shaped_pulse_xy.m, shaped_pulse_af.m, bruker_write.m, cartesian2polar.m, grad_pulse.m, grad_sandw.m, pmlg5.m, polar2cartesian.m, read_wave.m, restrans.m, rseq_compiler.m, rsequence.m, sech_pulse.m, spinal.m, wave_basis.m, Kernel_functions
Version 2.4, authors: Ilya Kuprov
