답변 있음
Fundamental of power spectral density PSD?
There is only one sine wave in this signal. There are no harmonics. Fs = 150; t = 0:1/Fs:1; x = cos(2...

대략 12년 전 | 1

답변 있음
sin wave with difference sampling frequency?
Simply change the increments at which the time vector is sampled. 100 Hz sampling frequency: Fs = 100; t = 0:1/Fs:1; ...

대략 12년 전 | 2

| 수락됨

답변 있음
Using logical operators within if statement
You don't want an &, you want an or | um=input('um(Between 0 and 1) ='); if (um<0 || um>1) disp('En...

대략 12년 전 | 1

| 수락됨

답변 있음
Variable with static type possible?
To get the equivalent of a static variable in MATLAB, use persistent. When you declare a variable to be persistent within a func...

대략 12년 전 | 0

| 수락됨

답변 있음
How to interpret an answer given by the "regress" function
Your design matrix should be 60x5, not 60x4, you need a column of ones for the constant term, a0. So start by doing the follo...

대략 12년 전 | 1

| 수락됨

답변 있음
Fundamental of power spectral density PSD?
The answer is you are only seeing one peak in your signal. When you obtain a two-sided (negative and positive frequencies) PSD e...

대략 12년 전 | 1

답변 있음
Undefined function 'times' for input arguments of type 'struct'.
I think you need to show us how you are forming your variables m and c - is either one or both a structure array? They clearl...

대략 12년 전 | 0

답변 있음
Fundamental of power spectral density PSD?
Are these two peaks harmonically related? In other words, is the second peak an integer multiple of the first peak. In that case...

대략 12년 전 | 1

| 수락됨

답변 있음
Testing for Linear Dependence (Matrix Errors when running)
A rectangular matrix cannot have a true inverse. How about just A = [2 3 0; 1 2 0]; rref(A) To get the reduced row e...

대략 12년 전 | 1

답변 있음
How to change CELL components value?
A = cell(2,1); A{1} = randn(100,1); A{2} = randn(100,1); A{1} = A{1}/2; A{2} = A{2}/2; Or if you ...

대략 12년 전 | 1

| 수락됨

답변 있음
AI toolboxes in MATLAB
AI is a big area, so how are you defining what qualifies as an AI toolbox? For example: <http://www.mathworks.com/products...

대략 12년 전 | 1

답변 있음
Splitting up a matrix into X sizes/ based on specified values in a matrix
Are the time instants just integers? If not, that may be why find() does not work depending on how you are using it. X = one...

대략 12년 전 | 0

| 수락됨

답변 있음
How can I use wavelet thresholding with nondecimated 2D decomposition of an MR image ?
You want to use sw2dtool >>sw2dtool Interactively play with your denoising and then select File -> Generate MATLAB Co...

대략 12년 전 | 0

| 수락됨

답변 있음
Three-level Daubechies wavelet transform?
Have you tried this using >>dw2dtool That will allow you to interactively do exactly what you want

대략 12년 전 | 0

| 수락됨

답변 있음
how to make bandstop filter
You have the sampling frequency specified as 44100 Hz. Is that correct? If that is correct how can you have a stopband [299740,2...

대략 12년 전 | 0

| 수락됨

답변 있음
I have designed triplet half-band filer bank. I have got the co-efficients. Can any one help me design wavelet using these co-efficients using MATLAB???
When you say triplet half-band filter bank are you talking about a frame filter bank with one lowpass and two highpass filters. ...

대략 12년 전 | 0

| 수락됨

답변 있음
diary fuction is not working, what can i do ?
It seems you are trying to execute that command in a folder where you don't write permission. Can you cd to a folder where yo...

대략 12년 전 | 1

답변 있음
How to combine the text from two edit text and making it as one text?
X= 'TR-13-01639(16)'; Y = '102489473-16*'; idx = find(X=='('); X(idx:end) = []; keyword = strcat(X,'...

대략 12년 전 | 0

답변 있음
Matrix (Resultant from an Expression) Indexing
Yes A = randn(20,10); size(A,2) size(A,1) So N = size(A,2); Did you read the help?

대략 12년 전 | 0

| 수락됨

답변 있음
problem with sum command
You must have a variable in your workspace called sum, which is a bad idea. Make sure that your program or script does not cr...

대략 12년 전 | 2

답변 있음
How to increment a variable
How about just a = a+1; a = 1; x = zeros(10,1); for k = 1:10; x(a)= k^2; a = a+1; end Of course, you would nev...

대략 12년 전 | 3

답변 있음
How to extract Sound Pressure Level[SPL] data from an audio file(*.wav)
You cannot do that unless you have some detailed information about how the .wav file was recorded. You need to know how to creat...

대략 12년 전 | 0

답변 있음
How can I make a conditional statement when using variables?
I'm guessing from the error message you report that x is a vector, not a scalar. From the code snippet you show, both a and b ar...

대략 12년 전 | 0

| 수락됨

답변 있음
plot sin function with sincommand
How about just using sinc() if you have the Signal Processing Toolbox. If not x = linspace(-5,5); y = sin(pi*x...

대략 12년 전 | 0

| 수락됨

답변 있음
How to invert a 72x72 symbolic matrix?
What is the performance of linsolve() for symbolic expressions? I haven't tried it for such a big matrix, but have you tried tha...

대략 12년 전 | 0

답변 있음
How to combine the text from two edit text and making it as one text?
Can you show us what your output X and Y look like? Have you tried strcat()? X = 'C:\temp'; Y = 'data' ...

대략 12년 전 | 1

| 수락됨

답변 있음
Splitting a fouriertransform in low, middle and high frequency intervals
The key is to figure out the frequency spacing in the DFT, that uses simply what you are calling FFT = 2^nextpow2(L); a...

대략 12년 전 | 0

| 수락됨

답변 있음
How to work on fprintf in fopen?
What is msg? That is the system-dependent error message returned by fopen. I'm assuming the value of txt is -1 meaning the fopen...

대략 12년 전 | 0

답변 있음
find a basis and dimension for the subspace
V1 = [1;2;1;-1]; V2 = [3;1;0;5]; V3 = [0;5;3;-8]; V = [V1 V2 V3]; rank(X) The rank of the matrix is 2 mea...

대략 12년 전 | 3

| 수락됨

답변 있음
i have a big matrix with dimension 303*14 i want compare every row of this matrix with one vector with dimension 1*14
I'm not sure I understand, you say you have a cell array: strcmp() does work element by element on a cell array. A = {'T...

대략 12년 전 | 0

더 보기