Community Profile

Contact

Top 1% contributor

Try reshape(A,numel(A),1)

accepted

1

Answered 1 year ago

Your question is perhaps too generic, however to find frequency components of a signal in Matlab the FFT command is braodly used...

Hi, I am working with a large autocorrelation vector (size 1.023e6 ). It is well known that the autocorrelation matrix can be fo...

1 Answers

Asked 1 year ago

>> syms x >> int((5*x)/((x^3-(7*x))^4),-1,1) ans = NaN Which is correct if you consider you are worki...

Answered 2 years ago

If you have a .wav audio named filename you can do [y, Fs] = wavread(filename) Where Fs is the sampling frecuency and y yo...

Use figure command plot(a); figure;plot(b,'r');

I think there is nothing wrong with your code. If I do f(-0.351409329825233) the answer is ans = -3.9968e-...

Hi, when I execute the following code in Matlab syms x y; f=4*i+9*x+y; imag(f) I get the following result ans = ...

2 Answers

0

Asked 2 years ago

Hi, I have the same problem with large 20x20 symbolic jacobian and I canĀ“t figure out how to use Matlabfunction to solve my prob...

3270 views

Responded 2 years ago

I have to substitute values in a matrix with 20 variables. I substitute variable after variable using a for loop, but in some ca...

Hi,I am working with a program which is consuming a huge amount of RAM memory, and I would like to know if it is possible to fre...

From your code and the file uploded I can see ypur sampling frequency is 1000 Hz and you are trying to represent frequencies up ...

Try A=[ 2 1 3; 4 2 5; 1 1 6] a=find(A>3); A(a)=A(a)+1

If you want to filter a signal in the frequency domain you just need to multiply your signals' frequency response (y in your cod...

The way signals are generated here http://www.mathworks.es/es/help/matlab/ref/fft.html is what you are looking for.The only para...

There are many methods to do, the autocorrelation approach is easy and quite effective. You can calcute your signal's autocorre...

Some ideas here function y=new(a,b) if(a<0) disp('a must be bigger than zero'); end if(b<0||b>1) disp('a must ...

If you can apply xlsread(as I infere from your tags) to put your raw data into a matlab vector all you need can be found in this...

Why can't you apply the Hamming window in the time domain, and then compute the FFT of the resultant signal? On the other ha...

The problem comes in double(subs(C)) From your code C=u1^2+3*u2^2+2*u3^2; so when you do subs(C) an...

Basically the wavelet transform is similar to the STFT(Short time Fourier Transform), because it links the frecuency of a signal...

I think you are trying to do something like this >> a=20:-2:2; >> for i=1:10 for j=1:10 X(i,j,1:10)=a(1:10); en...

The first step is to design a filter to obtain the A and B vector coefficients.Then use the Butter function, for instance to obt...

Is this what you mean? >> A=27; >> E=1:1:10; >> R = 0.173*(E.^3/2)*A.^1/3 R = Columns 1 through 9 ...

When you execute this code in Matlab >> syms x; >> f=-10*exp(-x); >> solve(f,x) >> isempty(a) ans = ...

I am not sure, but theoretically ,if you have acceleration, and you want to get displacement, you have to integrate to get veloc...

I am not sure I am understanding your question very well, but it seems you have a sample every 0.00274 units of time. You have t...

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

Solve this!

1 year ago

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

Given the input n, return true if n is odd or false if n is even.

Load more