Respondida
Low pass fir filter code
Do you have the Signal Processing Toolbox? Then designing an FIR filter will be easy, but you need to have more detailed specifi...

más de 13 años hace | 0

Respondida
How to calculate the FFT on 320e3 points?
I do not find that to be the case, have you tested that? N = 320e3; x = randn(N,1); y = zeros(100,1); for nn = 1:100...

más de 13 años hace | 1

| aceptada

Respondida
i found out the peaks of a signal as well as its locations but i have not been able to plot the peaks in the signal can anyone please help
Have you looked at the findpeaks reference page in the documentation, which has an example doing exactly that? x = linspace...

más de 13 años hace | 0

| aceptada

Respondida
How to decompose following gps time series ?? Please help me
Hi Chris, you can certainly fit the trend here by just using a simple linear model. I'll use the variable gps_data to represe...

más de 13 años hace | 0

Respondida
How to calculate the FFT on 320e3 points?
x = randn(320e3,1); xdft = fft(x); Why do you think that MATLAB does not calculate the DFT on the length of the input vect...

más de 13 años hace | 0

Respondida
ber plot using semilogy
You are plotting? semilogy([0.5031,0.5022,0.5005,0.4769,0.3466,0.1949,0.161]) The values are not 10^(-3) and 10^(-7), th...

más de 13 años hace | 0

| aceptada

Respondida
Creating a normal distribution and chi^2 test
Why do you think you cannot perform any statistical test that will benefit you when you have 369 measurements? In many contex...

más de 13 años hace | 0

| aceptada

Respondida
how do i do temporal correlation between grayscale images
Have you looked at the examples here: <https://www.mathworks.com/help/signal/ref/xcorr2.html>

más de 13 años hace | 0

| aceptada

Respondida
Hi.....I am pursuing M.tech....I need sample codes on DTCWT....anyone plzzzz help me.....
If by your acronym you mean the dual-tree (complex) discrete wavelet transform, then see Professor Selesnick's website: <http...

más de 13 años hace | 0

Respondida
Matlab error: ??? Error using ==> interp1 at 259 The values of X should be distinct.
The problem is your last X value is -1.0012, which is repeated from the 3rd to the last X(end-2:end) So note that zi...

más de 13 años hace | 0

Respondida
What is the comments given in this IWT code?
Have you read the help for dwt2? You need to specify a wavelet name (or the filters) to use. It's better to use wavedec2 beca...

más de 13 años hace | 0

Respondida
pick column and row of an entry
X = randi(20,10); [I,J] = ind2sub(size(X),find(X>10)); The I vector has the row indices, the J vector has the column ind...

más de 13 años hace | 0

| aceptada

Respondida
linear regession with 3 Independent variables
It looks like you are trying to construct a linear model with 2 predictor variables and 1 response variable. In the typical line...

más de 13 años hace | 0

Respondida
What is the comments given in this IWT code?
I think you have to inquire with the individuals that provided this code. Do you have the MathWorks Wavelet Toolbox? If so yo...

más de 13 años hace | 0

Respondida
On which frequency i should apply DWT (wavelet transform), sampling frequency or output bandwidth
If your sampling frequency is 128 Hz, then the approximate frequency bands in the DWT are already determined by the sampling fre...

más de 13 años hace | 0

| aceptada

Respondida
I am taking Open MIT course. Not registered as a student at the university. How can I get MATLAB?
You have to contact MathWorks for that. <http://www.mathworks.com/company/aboutus/contact_us/>

más de 13 años hace | 0

Respondida
How to plot with 'm' rows and 3 columns?
You only have two values here above 0.2 so it's not going to be an interesting plot, but let the matrix be A A = [0 15...

más de 13 años hace | 1

Respondida
Downsizing of an image
If you just want to downsample the rows and columns. Assume X is your image: X = randn(512,512); X = X(1:2:end,1:...

más de 13 años hace | 1

Respondida
plotting the density function and cumulative distribution function?
r = 10:0.01:20; FR = -(r.*(r.^2-45*r+600))/500+5; % PDF fR= (3/500)*(r-10).*(20-r); % CDF FR = -(r.*(r.^2-45*r+600)...

más de 13 años hace | 1

| aceptada

Respondida
ones(size(data, 2), 1) , what mean??
Create a vector of ones which has the number of rows equal to the number of columns in the matrix data and 1 column So if dat...

más de 13 años hace | 0

Respondida
if strcmp(method,'range')
Mina welcome to MATLAB! I think Azzi has some good advice. If you invest some time in reading the MATLAB documentation, you will...

más de 13 años hace | 1

Respondida
find ar oder using aic
You can use aic() in the System Identification Toolbox. The steps: -- Create models for given AR orders using arx() -- ...

más de 13 años hace | 1

Respondida
kvalue=zeros(size(data,1),size(data,1),size(data,2));
kvalue=zeros(size(data,1),size(data,1),size(data,2)); The above line is just initializing an array of zeros that has dimensi...

más de 13 años hace | 0

| aceptada

Respondida
what mean l2 norm??
The l2 norm of a vector is the square root of the sum of the absolute values squared X = randn(8,1); norm(X,2) The ab...

más de 13 años hace | 3

| aceptada

Respondida
what mean ,hist word in matlab ?
It a frequency histogram X = randn(1000,1); hist(X) It "bins" the input data and returns the number of data values th...

más de 13 años hace | 0

| aceptada

Respondida
what mean normr in matlab??
That is a function in the Neural Network Toolbox that normalizes the rows of the matrix to have l2 norm. For example: X ...

más de 13 años hace | 0

| aceptada

Respondida
Sum of a Series
A = [1 0 1 0 1 1 0 1 0 1 0]; B = A(2:end); C = sum(A(1:end-1).*(1-B));

más de 13 años hace | 0

Respondida
filling in blank cells with nearest number
The question I'm not sure of from your post is how you want to deal with 1 NaN 0 0 NaN 1 Do you want the above to be as...

más de 13 años hace | 0

Respondida
Does the wavelet toolbox have a function to extract the approximation filter kernels for a specified level?
I'm not sure why you are trying to use the synthesis filter here. That does not give you the equivalent filter for the scaling o...

más de 13 años hace | 0

Respondida
Cumulative sum for a vector
x = [1,5,3,2,8]; cumsum(x) but the first element is 1, not 6 as you have indicated. Of course, if you don't want that fir...

más de 13 años hace | 1

| aceptada

Cargar más