Answered
How can I avoid having data proccesed in MATLAB with dots? I have to transfer the data to excel and manually replace later with commas.
When you say "dots" do you the decimal point? Why can't Excel handle a decimal point? If it's a matter of replacing a decimal...

12 years ago | 0

Answered
hanning ,hamming window in matlab?
Before you take the DFT hamming() or hann() t = 0:0.001:1-0.00; x = cos(2*pi*100*t)+randn(size(t)); winvec ...

12 years ago | 1

| accepted

Answered
How to evaluate a ksdensity at x-values?
You can input a vector of values as the 2nd input argument to ksdensity() xi = -3:.01:3; y = randn(1000,1); [...

12 years ago | 1

Answered
How to use the <<tf>> function to determine the transfer function of two microphones?
From your description, it does not sound like tf() is what you want. Do you have the Signal Processing Toolbox? If so, have a lo...

12 years ago | 1

| accepted

Answered
how to solve third degree polynomial?
C = [1 -0.731 -3.64 -125.92]; roots(C)

12 years ago | 1

Answered
Difference between unit delay block and memory block
When the Memory block inherits a discrete sample time, the block is analogous to the Unit Delay block. However, the Memory block...

12 years ago | 3

Answered
Hann Window Smoothing Help
Hi Kayleigh, Welcome to MATLAB. If your signal truly consists of values like 1 2 1 455 1 2 Then I think there are bet...

12 years ago | 0

Answered
spectrum analysis of wind
You don't really have a lot of data here. If you just choose from 0:00 you only have 42 samples. Even taking all the data, I ...

12 years ago | 1

Answered
spectrum analysis of wind
If you have the Signal Processing Toolbox, you can use periodogram() to get a power spectral density estimate of the wind data i...

12 years ago | 1

| accepted

Answered
fft of given data
That indicates that the data has a non-zero mean. First, subtract the mean y = detrend(y,0); or simply y = y-mean(y...

12 years ago | 1

Answered
Problems to compute a phase shift using sinusoidal functions
x = 0:0.1:10; y1 = 3*sin(4*x); % phase of zero y2 = 3*sin(4*(x-pi/4)); % phase shift of \pi radians plot(x,y...

12 years ago | 0

| accepted

Answered
I need Support vector machine (SVM) tutorial
Have you looked at this material: <http://www.mathworks.com/help/stats/support-vector-machines-svm.html Support Vector Machin...

12 years ago | 1

Answered
Problems using the filter function with a column vector
Not sure why you say it is off. filter() convolves the data with the 4-point moving average filter in a causal manner. So for...

12 years ago | 0

| accepted

Answered
How can I plot multiple signals with unit step signal
Looks to me like this just simplifies to: \delta(t) +3\delta(t-1) + \delta(t-2) N = 128; sig = zeros(N,1); ...

12 years ago | 0

Answered
What am I doing wrong? (Trying to construct a while loop)
One thing is your missing an "end" if true % code endV0=10 h_bar_SQ=0.076 E=0:0.1:10 a=0.3 Mass=1 al...

12 years ago | 0

Answered
LTE networks in MATLAB 2013
There is a new product for simulating the physical layer: <http://www.mathworks.com/products/lte-system/ LTE System Toolbox> ...

12 years ago | 0

| accepted

Answered
How to create a cosine filter ?
Do you have the Communication System Toolbox installed? That functionality ships with that toolbox. The Signal Processing ...

12 years ago | 0

| accepted

Answered
how to apply adaptive filter techniques like LMS,RLS AND NLMS to real time database signals that for .mat file signals downloaded from physionet atm
The DSP System Toolbox has a number of adaptive filter implementations.

12 years ago | 0

| accepted

Answered
power spectral density via LPC
You want to multiply by -1 because its 1/Puu. For example: load mtlb; x = mtlb.*hamming(length(mtlb)); a = lpc(x,12);...

12 years ago | 0

| accepted

Answered
how to fill matrix without using for loop?
because b isn't the right size. b is 24x1 but you are trying to fill all 4 columns of a How about just a = ones(24,4);...

12 years ago | 0

Answered
How to find the convolution of two signals using fourier transform?
If you just want to know how to convolve two vectors in MATLAB using the DFT x = randn(8,1); y = randn(8,1); npad =...

12 years ago | 1

Answered
Problem auto-scaling FIR coefficients
Can you please attach the data, or whatever else is need to actually make this run. For example, we don't know what ADC_IR() is,...

12 years ago | 0

Answered
Problem auto-scaling FIR coefficients
Clear your workspace and see if you can execute this code: Hf = fdesign.lowpass('Fp,Fst,Ap,Ast',10,15,0.1,90,165); Hd = ...

12 years ago | 0

| accepted

Answered
how to find wavelet transformation of a discrete signal
The Wavelet Toolbox has many flavors of wavelet transform. You can obtain the following: continuous wavelet transform critic...

12 years ago | 0

Answered
Error message for calculating the variance of my beta
You don't make assignments like this in MATLAB var(b) = sqrt(2); For example, this will produce the error you observe: ...

12 years ago | 0

| accepted

Answered
Image Cdata cannot be complex!!!
If you are taking the Gabor transform, you like want to display the magnitude image, change the line h = imagesc(gb); to...

12 years ago | 2

| accepted

Answered
xlim command for figures
If when you say limit data, you mean restrict the range of data values, then use ylim x = randn(100,1); plot(x); s...

12 years ago | 0

Answered
how to design a filter with band pass FIR filter and IIR low pass filter ?
A key consideration is whether you want to specify the order of your filters? Are do you want MATLAB to find the minimum order f...

12 years ago | 0

Answered
trying to create a simple plot. Get error 'Vectors must be the same length'
Because when you use diff(), you end up with vector with one less element, so that t and x are one element greater in length tha...

12 years ago | 0

Answered
How many periods it is needed for fft to give us a proper estimate over frequency?
It's not that simple. You can get a good estimate with just one period depending on the frequency spacing in the DFT. ...

12 years ago | 0

Load more