Réponse apportée
Best way to remove UNWANTED 50Hz from the signal vector
You can use a notch filter. See documentation and example below http://www.mathworks.com/help/toolbox/dsp/ref/iirnotch.html ...

presque 14 ans il y a | 1

Réponse apportée
How does one model a rotating antenna for an ATC radar in phased array?
Hi Keketso, Phased Array System Toolbox currently does not have built in support for rotating motion. However, it is possible...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
How to tell if two signals are similar
Perhaps you are looking for a scalar quantity to represent the similarity between two signal as is? If that's the case, you basi...

presque 14 ans il y a | 0

Réponse apportée
Creating a N-Dimentional matrix from a 2 Dimentional matrix
a = [1 2 ;3 4] b = reshape(repmat(a(:),1,100),[size(a) 100]);

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Replace nan's with blanks
B(cellfun(@isnan,B)) = {[]}

presque 14 ans il y a | 2

| A accepté

Réponse apportée
how do i run my signal through a filter i designed with filter design tool
Please format your code in your question. I'm not sure what you mean by plot(h,'nik') but if you want to filter the sign...

presque 14 ans il y a | 0

Réponse apportée
Convolution using filter: implementation
Your b and a represents an IIR filter while your g represents an FIR filter. Depending on what your original coefficients are, o...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
for loop in matrix names (Syntax)
try eval(sprintf('ret%d',g)) But please read the following link http://matlab.wikia.com/wiki/FAQ#How_can_I_create_var...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
How can I convert values in a cell array into a form that can be used for calculations?
x = cellfun(@str2num,y,'UniformOutput',false)

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Can any one please help me with the following code?
As Walter mentioned, ' operator is conjugate transpose. As to this case, because k is real, it is simply transpose to make it a ...

presque 14 ans il y a | 0

Réponse apportée
How to Determine the impluse response and provided a plot of the frequency response of the designed filter. by using Matlab software
I would suggest you to read the documentation for several functions. Simply type these commands in your command window doc ...

presque 14 ans il y a | 2

| A accepté

Réponse apportée
Delete a plot in GUI rutine
Use set(h2,'YData',y) to replace the line.

environ 14 ans il y a | 1

Réponse apportée
Creating vector of all numbers in a cell array.
You can do AContents = [A{:}]

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Why did I receive this error with inline
I see several issues: # You should use + instead of .+ # The error is due to the fact that there are three variable in your ...

environ 14 ans il y a | 0

A résolu


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

environ 14 ans il y a

A résolu


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

environ 14 ans il y a

Réponse apportée
Zero Padding Problem with FFT Square Wave Pulse
R1 is correct. If all you want is to do zero padding and then FFT, you can do it by specifying the number of FFT points in fft()...

environ 14 ans il y a | 1

Réponse apportée
I have a 20x1 vertical matrix. I want to take the averages of the pairs in order and display them in another matrix. How?
x = rand(20,1); y = transpose(mean(reshape(x,2,10)))

environ 14 ans il y a | 1

Réponse apportée
I am using a butterworth filter (scripted below) and the script jams with this error response
Hi Katherine, Is the result of which butter same for both installations? It sounds like you have a custom |butter| on...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
FFT is finding a max amplitude at 0 Hz
You need to remove the DC component first. Just do x = x-mean(x) or x = detrend(x) before applying FFT

environ 14 ans il y a | 0

| A accepté

Réponse apportée
Question regarding matrix manipulation
Y2 = interp1(X1,Y1,X2,'nearest')

environ 14 ans il y a | 0

Réponse apportée
how to delete specific entries (based on a condition) in an array?
You are changing a every time when you found an element less than 18, so when the iteration gets to the original array length, i...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
Index Non-Empty Cells in Cell Array
x = {1,[],[],[]}; find(~cellfun(@isempty,x))

environ 14 ans il y a | 33

| A accepté

Réponse apportée
Displaying loop index in a string
input(sprintf('input value for ele(%d)',k))

environ 14 ans il y a | 2

| A accepté

Réponse apportée
Removing NaN from cell array
x = {'xy','yz',nan} x(cellfun(@(x) any(isnan(x)),x)) = []

environ 14 ans il y a | 4

| A accepté

Réponse apportée
Simple question regarding sorting
x = [1 3 5 7 9]' y = [1 2 3 4 5]' unique(sort([x;y]))

environ 14 ans il y a | 0

Réponse apportée
What is the flag button on questions for?
It is explained here: * <http://blogs.mathworks.com/community/2012/06/27/new-features-in-matlab-answers/> * <http://www.mat...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
How can I obtain the coordinates(x,y) from my plot?
You can try to get the handle of the plotted object and then get XData and YData out of it. Here is an example h = plot(1:1...

environ 14 ans il y a | 1

Réponse apportée
coverting z transform transfer function equation into Difference equation
http://www.mathworks.com/matlabcentral/answers/21054-can-matlab-give-me-difference-equation-from-transfer-fucntion

environ 14 ans il y a | 0

Réponse apportée
FInding duplicates in matrices
In your program, your element under test is board(jj,ii) while in the result, you are using board(ii,jj),so they are not consist...

environ 14 ans il y a | 0

Charger plus