chirpPh.m

Version 1.0.0.0 (2.02 KB) by Jeremy
Chirp (sine sweep) with defined starting phase angle
327 Downloads
Updated 21 Jul 2014

View License

This is function that behaves like chirp (linear), except you can specify an initial phase angle. The purpose of this is to be able to have a series of several chirp time histories with seamless transitions between them. There is a second output which is starting phase for the next time series.
An example for a signal starting from zero Hz and ramping up to 40Hz and then back down to 10Hz is shown:

[d(1:1000),ph]=chirpPh(.001:.001:1,0,40,0);
[d(1001:3000)]=chirpPh(.001:.001:2,40,10,ph);

Cite As

Jeremy (2024). chirpPh.m (https://www.mathworks.com/matlabcentral/fileexchange/47301-chirpph-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Antennas, Microphones, and Sonar Transducers in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0