### Highlights from RF Design and Analysis

• sigres.mSIGRES Function to plot the signal response of a complex system
• cfreqz.mCFREQZ Function to plot pole-zero plot and transfer function of complex poles
• C2FC2F Convert a temperature from Centigrade to Farenheit
• C2KC2K Convert a temperature from Centigrade to Kelvin
• F2CF2C Convert a temperature from Farenheit to Centigrade
• F2KF2K Convert a temperature from Farenheit to Kelvin
• FFTSNDR(samples, fsample,...FFTSNDR Function to find SNR from an FFT
• GaussFilt(BW, N)GAUSSFILT Design a Gaussian Low-Pass Filter
• GaussSQNR(L, MQL, STD)GAUSSSQNR Function to calculate SQNR of A/D converter with Gaussian input
• IMR(a, p)IMR Calculate image rejection ratio given amplitude and phase mismatch
• K2CK2C Convert a temperature from Kelvin to Centigrade
• K2FK2F Convert a temperature from Kelvin to Farenheit
• MUSTRIPLOSSMUSTRIPLOSS Calculate the attenuation of a microstrip line
• MUSTRIPZ0MUSTRIPZ0 Calculate the characteristic impedance of a microstrip line
• PulseSourcePULSESOURCE Generates output of pulsed source
• SIMPLE_GM(mode, IN, W, L,...SIMPLE_GM Function to find transconductance given drain current or overdrive voltage
• SINEAPPROX(T, F, A, C)SINEAPPROX Generates a clipped sine wave and an approximation to it.
• STRIPLINELOSSSTRIPLINELOSS Calculate the attenuation of a stripline
• STRIPLINEZ0STRIPLINEZ0 Calculate the characteristic impedance of a stripline
• binomialtransformerBINOMIALTRANSFORMER Design a multisection binomial impedance transformer
• binomialxfrmrbwBINOMIALXFRMRBW Calculate the bandwidth of a binomial transformer
• ccc2pccCCC2PCC Converts a complex number into magnitude and phase (in radians)
• chebpoly(N,X)CHEBPOLY Evaluate Chebyshev polynomial
• compare(varargin)COMPARE Function to plot two vectors of different scales on same x axis
• dbPDBP Convert a power signal into decibels
• dbVDBV Convert a voltage signal into decibels
• dbmDBM Convert a power signal (Watts) into dbm
• digital(varargin)DIGITAL Function to plot digital signals
• fft_a_p_mismatch(samples1...FFT_A_P_MISMATCH Amplitude and phase mismatch of two signals from an FFT
• fftamp(samples, fs, f0, v...FFTPHASE Function to find phase of a particular frequency from an FFT
• fftamp(samples, fs, f0, v...FFTAMP Function to find amplitude of a particular frequency from an FFT
• fftbandamp(samples, fs, f...FFTBANDAMP Function to find rms amplitude of a particular band from an FFT
• freqs1FREQS1 Function to find the frequency response of a filter at 1 frequency
• iscmplxISCMPLX Tests if a number or array is complex
• isevenISEVEN Tests if a number or vector is even
• isoddISODD Tests if a number or vector is odd
• lambertw
• llimitLLIMIT Limit a vector to a given minimum value
• logfft(samples, fs, vpp, ...LOGFFT Function to plot FFT
• mustripMUSTRIP Calculate the required width of a microstrip line
• mustripwMUSTRIPW Calculate the width of a microstrip line from the effective width required
• mustripweffMUSTRIPWEFF Calculate the effective width of a microstrip line
• parallelPARALLEL Computes the value of components in "parallel"
• pcc2cccPCC2CCC Convert the polar input into a complex number
• pinkfiltPINKFILT Generate filter coefficients for a 'pink noise' filter.
• repeat(x, N)REPEAT Upsample a vector by inserting repeated samples
• rflibRFLIB Open the RF Circuits Toolbox SIMULINK Block Library.
• rmsRMS Compute the RMS value of a vector
• roundtoROUNDTO Round the input to a specified resolution
• sd_fft(samples, fs, vpp, ...PLOTFFT Function to plot FFT
• singlestubSINGLESTUB Computes the single-stub matching networks for a given Zl and Z0
• singlestubresponseSINGLESTUBRESPONSE Computes the frequency response of a single-stub match
• striplineSTRIPLINE Calculate the required width of a stripline
• ulimitULIMIT Limit a vector to a given maximum value
• uniquepcnt(a, PCNT)UNIQUEPCNT Set unique, ignoring roundoff error.
• vectfiltVECTFILT Filter a vector to have only specific type of elements. Types are 'real',
• constants.mCONSTANTS Script defining useful constants for scientific calculation
• L1PSD.mL1PSD Script to plot the theoretical power spectrum of the GPS L1 signal
• IMR_JT.mIMR_JT File to generate an IMR plot such as that in Jantzi thesis, p. 22.
• RF.mdl
• View all files

Join the 15-year community celebration.

Play games and win prizes!

# RF Design and Analysis

### Jackson Harvey (view profile)

A collection of functions, scripts, & Simulink models useful for designing and analyzing RF systems

constants.m