回答済み
plot a signal in the freq domain
If the code is setup exactly the way you say above, then there is only one element in "f" and one element in "X". You need to do...

14年以上 前 | 1

| 採用済み

回答済み
Numerical solution
Unless I misunderstood something, I think all you need to do is change: BL = 0; to if n == 1 BL = 0; end ...

14年以上 前 | 0

| 採用済み

質問


Alternative to using "unix(sprintf('ls %s/*/*/*.out',pathname))" ?
I am using the following command to gather a list of files with the same extension (*.out) down a couple directories: [~,Li...

14年以上 前 | 3 件の回答 | 0

3

回答

回答済み
I want to implement this matrix
>> A = zeros(4,8); >> A(:,2:2:end) = 5*eye(4,4); >> A A = 0 5 0 0 0 0 0 0 0 ...

14年以上 前 | 1

| 採用済み

回答済み
DFT
Here is another (inefficient) way of saying the same thing as Wayne by way of example: Fs = 100; % samples per second dt =...

14年以上 前 | 0

回答済み
FFT convolution shifts resulting waveform
Yes... that can happen. If your frequency response is boosting low frequencies, then "strange" things like that can happen. Usin...

14年以上 前 | 0

回答済み
BER of OFDM, how scale correct after IFFT?
I use the FFT for a much different problem. In my case, the time domain data are always real and the frequency domain data are a...

14年以上 前 | 0

回答済み
FFT - am i doing anything wrong
Although the scaling performed on the result from FFT (in the example above, which is based on Matlab's FFT documentation) may b...

14年以上 前 | 0

回答済み
Accept or Reject
Here is an example. I generate a random dataset, then I cycle through each subset of data and I enter an "A" for accepting the d...

14年以上 前 | 0

| 採用済み

回答済み
Accept or Reject
Yes. Search for "ginput" in your help navigator. You can even set it up so that pressing the button associated with "R" rejects ...

14年以上 前 | 0

回答済み
fft scalloping or window effect
Nooooo... The FFT should be scaled by the time increment (dt = 1/fs). You apply this correction to ALL the amplitudes in the fre...

14年以上 前 | 0

回答済み
How can the ans be surpressed so that only the fprintf will show?
Not putting a semi-colon ( ; ) at the end of a line within your code or at the end of a function call from the command line is u...

14年以上 前 | 0

回答済み
what is the use of the symbol '*' in the function named fullfile?
It means that any file whose name is something.jpg will be used. For example if: myFolder = '/home/yourfolder'; then ...

14年以上 前 | 0

回答済み
How to write the loop to collect data every step I want
You basically want to collect a sample at every 0.1 increment in time(?). Setup a counter before your "for" loop and initiali...

14年以上 前 | 0

| 採用済み

回答済み
please help me identufy this.. i write the program but i dont know what this program do.. this is the command.. and output..
You are defining an array that is 1 row x 9 columns with values ranging from -9 to 11. You then calculate the "size" of the arra...

14年以上 前 | 0

| 採用済み

回答済み
error-index must be a positive integer or logical.
You need to ensure all of the indices are greater than 0. When you round things (using "floor") you must be encountering values ...

14年以上 前 | 0

回答済み
Set the Yticklabel to different colors
This not only changes the color of the tick label, it also changes the color of the specified axis: set(h,'YTickLabel','Hat...

14年以上 前 | 1

回答済み
Find the centroid of a polygon
Check out: <http://www.mathworks.com/matlabcentral/fileexchange/319-polygeom-m>

14年以上 前 | 0

| 採用済み

回答済み
I have a matrix q and i need the diagonal of qq'
In your Help Navigator, search for "arithmetic operators" and "diag" diag(q*q') is the same as diag(q*transpose(q))...

14年以上 前 | 0

| 採用済み

回答済み
How to find a complex root from the determinate of a matrix?
Here is another example: >>a = complex(randn(1),randn(1)); b = complex(randn(1),randn(1)); c = complex(randn(1),randn(1...

14年以上 前 | 1

回答済み
How to find a complex root from the determinate of a matrix?
You are trying to do the following, but for almost any MxM matrix and any location of x within that matrix: Example: M =...

14年以上 前 | 0

回答済み
Error: Not Enough Input Arguments
A couple of questions: 1. How are you running this? If you are trying to run this from the Editor, then you will be running i...

14年以上 前 | 0

回答済み
FFT vs Table Fourier Pairs
Multiply your fft result by "dt". See my answer to this post for more info: <http://www.mathworks.com/matlabcentral/answers/1...

14年以上 前 | 1

| 採用済み

回答済み
ifft limitations
It looks like the results are very close to being the same between column 1 and column 10: >>[z;zf] ans = Columns...

14年以上 前 | 0

| 採用済み

回答済み
FFT
So, I created an example using the original un-modified code for fcoeffs_fft (located here: <http://pastebin.com/001id7SB>) and ...

14年以上 前 | 0

| 採用済み

回答済み
Converting acceleration to displacement
You might need to filter your data. One of the results of going from acceleration to displacement is that you will boost low-fre...

14年以上 前 | 0

回答済み
How to square each element of a vector
y = x.^2; Using the "." will effectively perform element-by-element mathematical operations. So if you had 2 MxM matrices, ...

14年以上 前 | 20

| 採用済み

回答済み
FFT
Ok... let's start over. I found a link to the "fcoeffs_fft" code (located here: <http://pastebin.com/001id7SB>). Are you trying ...

14年以上 前 | 0

回答済み
alarm for finishing running of a program
A simple way I use to get notified that processing had finished was to add a "beep" to the end of the program (I was usually in ...

14年以上 前 | 7

回答済み
Scaling the FFT and the IFFT
You are right about scaling being unimportant if only the shape of the spectrum is desired. However, if it is necessary that the...

14年以上 前 | 25

さらに読み込む