MATLAB Dispersion relation with Matlab

AI Thread Summary
The discussion centers on challenges in defining band gaps through transmission spectra derived from FFT algorithms. A suggestion is made to analyze the dispersion relation of sound waves to identify regions of anomalous dispersion, although guidance on how to perform this analysis is requested. There is also a query regarding the appropriate Fourier Transform algorithm to obtain phase data, as the FFT primarily provides amplitude and frequency information. Additionally, a MATLAB-related question arises about converting a matrix into a single long vector, which is later resolved with a provided function. The conversation touches on the relationship between transmission spectra and stop bands, noting that frequencies below a stop band in a diatomic lattice are acoustical, while those above are optical. Further inquiries are made about the specific focus of the transmission spectrum and dispersion relation analysis.
Beer-monster
Messages
285
Reaction score
0
I'm studying the phenemenon of band gaps in a experiment, however the stop bands are proving hard to define using just a transmission spectrum dervived from the fft alogrithm.

I've heard that it may be possible to define the band region by plotting the dispersion relation of sound waves the sound waves and looking for regions of anomalous dispersion. Unfortunately I have no idea how to go about this, does anyone have any info on this sort of analysis that could get me started?

Could someone tell me which FT alogorithm I would need to get phase data as I think the fft only give amplitude and requency info?

Oh and one last thing, does anyone know how I can convert a matrix in MATLAB into one long vector (so that each successive column is kind of added to the end of one large column) I've been trying this for a while but not getting very far.

Thanks:wink:
 
Physics news on Phys.org
solved it in 5 mins, enjoy the function! here you go!

function out = mat2col(A)
[row col] = size(A)

for n = 1:col
out([1+(n-1)*row:n*row],1) = A(:,n);
end
 
Are you treating electrons within a solid as an incident beam of electrons?

If you have a plot of the transmission spectrum, I would think that you could estimate the stop band from that.

I think frequencies below the stop band in a diatomic lattice are acoustical, while frquencies above the stop band are optical.

What are you trying to find the tranmission spectrum of? What are you trying to find the dispersion ralation of? Of what are you trying to find the phase?
 
Back
Top