Respondida
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 ...

casi 14 años hace | 0

Respondida
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 ...

casi 14 años hace | 2

| aceptada

Respondida
Delete a plot in GUI rutine
Use set(h2,'YData',y) to replace the line.

casi 14 años hace | 1

Respondida
Creating vector of all numbers in a cell array.
You can do AContents = [A{:}]

casi 14 años hace | 1

| aceptada

Respondida
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 ...

casi 14 años hace | 0

Resuelto


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, ....

casi 14 años hace

Resuelto


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...

casi 14 años hace

Respondida
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()...

casi 14 años hace | 1

Respondida
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)))

casi 14 años hace | 1

Respondida
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...

casi 14 años hace | 0

| aceptada

Respondida
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

casi 14 años hace | 0

| aceptada

Respondida
Question regarding matrix manipulation
Y2 = interp1(X1,Y1,X2,'nearest')

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 0

| aceptada

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

casi 14 años hace | 33

| aceptada

Respondida
Displaying loop index in a string
input(sprintf('input value for ele(%d)',k))

casi 14 años hace | 2

| aceptada

Respondida
Removing NaN from cell array
x = {'xy','yz',nan} x(cellfun(@(x) any(isnan(x)),x)) = []

casi 14 años hace | 4

| aceptada

Respondida
Simple question regarding sorting
x = [1 3 5 7 9]' y = [1 2 3 4 5]' unique(sort([x;y]))

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 1

| aceptada

Respondida
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...

casi 14 años hace | 1

Respondida
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

casi 14 años hace | 0

Respondida
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...

casi 14 años hace | 0

Respondida
Adding AWGN to a Signal
If you have Communication Toolbox or Communication System Toolbox, you can use awgn http://www.mathworks.com/help/toolbox/com...

casi 14 años hace | 0

Respondida
How to find the position in cell arry?
D = {[1 2];[1 4];[1 6];[2 4];[2 5];} c = [1 6] [~,~,idx] = intersect(c,cell2mat(D),'rows')

casi 14 años hace | 0

| aceptada

Respondida
Chars with white space
You can try |deblank| http://www.mathworks.com/help/techdoc/ref/deblank.html

casi 14 años hace | 2

Respondida
need some help regarding uniform rectangular array in phased array system toolbox
Are you trying to do the beamforming or simply want to see the radiation pattern steered? Here is one simple example showing the...

casi 14 años hace | 0

| aceptada

Respondida
Facing some problem in uniform rectangular array
Hi Najam, The default operating frequency range of an isotropic antenna element is set to between 300 MHz and 1 GHz, as you c...

casi 14 años hace | 0

| aceptada

Respondida
Median Filtering
Take a look at the following doc page http://www.mathworks.com/help/toolbox/images/ref/medfilt2.html

casi 14 años hace | 1

Respondida
Multidimensional Array indexing to a single vector
sum(B(1:5,:)>10)>0

casi 14 años hace | 0

Respondida
x-coordinate of peaks in 1D plot
You can use |findpeaks| http://www.mathworks.com/help/toolbox/signal/ref/findpeaks.html

casi 14 años hace | 0

Respondida
two matrix problem
A=[1; 1; 1; 1; 1; -1 ;-1 ;-1 ;1 ;1 ;1 ;1 ;1]; B=[0.4; -0.2; -0.2; -0.25; 0.6; -0.3; 0.4; 0.2; 0.5; 0.3; -0.8; -0.9; 0.9]; ...

casi 14 años hace | 0

Cargar más