Answered

Question about PSD calculation using FFT

The fft results in a spectra that includes positive and negative frequencies. Don't ask me to explain what a negative frequency...

Question about PSD calculation using FFT

The fft results in a spectra that includes positive and negative frequencies. Don't ask me to explain what a negative frequency...

6 months ago | 0

| accepted

Answered

How to compute fft of the rat's licking time?

There has to be good a joke there somewhere... So your data is a set of timestamps when rat licks? Is this coming from a pr...

How to compute fft of the rat's licking time?

There has to be good a joke there somewhere... So your data is a set of timestamps when rat licks? Is this coming from a pr...

6 months ago | 0

Answered

-6211 DDC_StorageCouldNotBeOpened

I am actually running into a very similar issue. I have some TDMS files that can be opened, some others (usually longer files) ...

-6211 DDC_StorageCouldNotBeOpened

I am actually running into a very similar issue. I have some TDMS files that can be opened, some others (usually longer files) ...

1 year ago | 0

Answered

Analyzing landsurface using FFT

If you have a data point every meter, then that is your "sampling rate", 1 sample/meter. Your fft will result in frequency bins...

Analyzing landsurface using FFT

If you have a data point every meter, then that is your "sampling rate", 1 sample/meter. Your fft will result in frequency bins...

1 year ago | 0

Answered

Create an empty array of size (MxN) for xlswrite.

If you are writing to excel then you probably want to use a cell array, Array = cell(2592,2);

Create an empty array of size (MxN) for xlswrite.

If you are writing to excel then you probably want to use a cell array, Array = cell(2592,2);

1 year ago | 0

Answered

How can I import an excel workbook's SHEET TITLE?

use the xlsfinfo function to read the names of all the sheets in an excel file.

How can I import an excel workbook's SHEET TITLE?

use the xlsfinfo function to read the names of all the sheets in an excel file.

1 year ago | 0

Answered

How to create a band pass filter

you discuss a bandpass filter but you are applying a lowpass filter... Aside from that, the order really depends on what type...

How to create a band pass filter

you discuss a bandpass filter but you are applying a lowpass filter... Aside from that, the order really depends on what type...

1 year ago | 0

| accepted

Answered

In regards to finding phase difference using matlab inbuilt cpsd function.

angle(Pxy) is the correct way to do this. The phase of the cross spectra is looking at the difference between the channels so t...

In regards to finding phase difference using matlab inbuilt cpsd function.

angle(Pxy) is the correct way to do this. The phase of the cross spectra is looking at the difference between the channels so t...

1 year ago | 0

Answered

Power Spectral Density Estimates Using FFT

There are different ways of looking at it but the PSD is often written as: (fft*conj(fft))/(bin_width*NFFT^2) (fft*conj(ff...

Power Spectral Density Estimates Using FFT

There are different ways of looking at it but the PSD is often written as: (fft*conj(fft))/(bin_width*NFFT^2) (fft*conj(ff...

1 year ago | 1

Answered

Power spectral density of gaussian white noise

The "density" in PSD means that the power is normalized to something, usually 1 Hz, but in this case it is the Nyquist frequewn...

Power spectral density of gaussian white noise

The "density" in PSD means that the power is normalized to something, usually 1 Hz, but in this case it is the Nyquist frequewn...

1 year ago | 0

Answered

RMS power in signal: time series vs frequency series. PSD/RMS definition?

Your equations are a little muddled, and there are three basic errors. # There is a factor of 2 on the your fft result, I ass...

RMS power in signal: time series vs frequency series. PSD/RMS definition?

Your equations are a little muddled, and there are three basic errors. # There is a factor of 2 on the your fft result, I ass...

1 year ago | 0

Responded

Re: Copy a formatted sheet in Excel

This is old but I ended up here so maybe someone else will too... to Copy BEFORE reference sheet, use the first input to Copy A...

1 year ago | 19126 views

Answered

How to get 2nd minimun value from matrix?

It is a little cumbersome but for any array x, this should work: min(x(x~=min(x(:))))

How to get 2nd minimun value from matrix?

It is a little cumbersome but for any array x, this should work: min(x(x~=min(x(:))))

2 years ago | 1

Answered

Problem in opening HDF5 file

after to get hinfo, stop and see what is in that structure. It will list the group and dataset hiearchy.

Problem in opening HDF5 file

after to get hinfo, stop and see what is in that structure. It will list the group and dataset hiearchy.

2 years ago | 0

Answered

Problem in opening HDF5 file

what is returned by hinfo? do you have 2 groups with a data channel in the second group?

Problem in opening HDF5 file

what is returned by hinfo? do you have 2 groups with a data channel in the second group?

2 years ago | 0

Answered

How can I filter white noise to obtain signal with desired PSD?

If you randomize the phases you will end up with a Gaussian distribution because the magnitude at every point will be a random c...

How can I filter white noise to obtain signal with desired PSD?

If you randomize the phases you will end up with a Gaussian distribution because the magnitude at every point will be a random c...

2 years ago | 0

Answered

How can I filter white noise to obtain signal with desired PSD?

you are trying to generate a time history with a specified spectral content, such that a PSD from the output will match the init...

How can I filter white noise to obtain signal with desired PSD?

you are trying to generate a time history with a specified spectral content, such that a PSD from the output will match the init...

2 years ago | 0

Answered

initial phase angle calculation

You can't expect them to be zero degrees just because there is no signal defined there. With no content at those frequencies, ...

initial phase angle calculation

You can't expect them to be zero degrees just because there is no signal defined there. With no content at those frequencies, ...

2 years ago | 0

Answered

initial phase angle calculation

I ran your code it and seems to be working as-is. -30 and -90 deg at 10 and 50Hz

initial phase angle calculation

I ran your code it and seems to be working as-is. -30 and -90 deg at 10 and 50Hz

2 years ago | 0

| accepted

Answered

Calculate an Input Signal using tfestimate, FFT and IFFT

I recently went through a similar exercise and so I can provide some answers.. _1. Is it possible to calculate the Transfer ...

Calculate an Input Signal using tfestimate, FFT and IFFT

I recently went through a similar exercise and so I can provide some answers.. _1. Is it possible to calculate the Transfer ...

2 years ago | 0

Answered

Compress only selected variables when saving to .mat

I know this is old, but I have been doing some similar work recently since I could tell it was taking longer than it should to l...

Compress only selected variables when saving to .mat

I know this is old, but I have been doing some similar work recently since I could tell it was taking longer than it should to l...

2 years ago | 0

Answered

How does Vrms of raw noise signal compare to power spectral density?

The square root of the integral of the PSD will equal the rms amplitude of the original time history. The integral of the PSD i...

How does Vrms of raw noise signal compare to power spectral density?

The square root of the integral of the PSD will equal the rms amplitude of the original time history. The integral of the PSD i...

2 years ago | 0

Question

Enlarged windows text size wrecking havoc on my GUI.

I have fairly complex signal processing GUI that is used within my company and I had issue with one user and I finally figured o...

2 years ago | 0 Answers | 0

Solved

Who Has the Most Change?

You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

2 years ago

Solved

Finding Perfect Squares

Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

2 years ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

2 years ago

Submitted

chirpPh.m

Chirp (sine sweep) with defined starting phase angle

2 years ago | 1 downloads |

Posted

My GUI has flashbacks...

I have a rather complex signal processing GUI that is nearly in its final state but there are a few bugs I am still chasing arou...

3 years ago | 932 views

Posted

Yahtzee!

I was playing Yahtzee the other night and kept thinking it would be an interesting model to optimize in Matlab. While it is lar...

3 years ago | 787 views