Answered
How to Generate Rayleigh Fading
Please see: <http://www.mathworks.com/help/releases/R2014b/comm/ref/rayleighchan.html Rayleigh Fading Channel>

9 years ago | 2

Answered
spectrogram function: phase and magnitude
The |spectrogram| function returns complex numbers, which include both magnitude and phase information. [S,F,T] = spectr...

9 years ago | 2

| accepted

Answered
Is there any build in function to perform polynomials multiplication?
u = [ x1 ; y1 ]; v = [ x2 ; y2 ]; z = conv(u,v);

9 years ago | 0

| accepted

Answered
which are the default properties of plot for the MATLAB 2014b?
The easiest way to find out is simply to ask MATLAB: fig = figure; ax = axes; lin = plot(1:10,rand(1,10)); g...

9 years ago | 0

Answered
i want to filter a frequeny
doc iirnotch

9 years ago | 0

| accepted

Answered
Storing a vector as a row of a matrix?
N = 12; x = rand(1,N); y = rand(1,N); z = rand(1,N); A = [ x ; y ; z ] ;

9 years ago | 0

| accepted

Answered
how can i write this matrix in matlab?
x = zeros(n+1); x(1,1:2) = [ 2 1 ]; x(end,end-1:end) = [ 1 2 ]; for k = 2:n x(k,k–1:k+1) = [ 1 4 1 ]; e...

9 years ago | 0

| accepted

Answered
How can I display the result in table for an user defined functions?
doc fprintf doc for

9 years ago | 1

Answered
Extracting a segment from sound file
Here are a few pages from the documentation that will help: * |<http://www.mathworks.com/help/matlab/ref/audioread.html aud...

9 years ago | 0

Answered
Error using size Not enough input arguments.
|size| is the name of a built-in function. It is not a good idea to name a variable the same thing. Please try |sz| instead. ...

9 years ago | 0

| accepted

Answered
Plotting graph in matlab
figure; plot(t,x,t+6,y);

9 years ago | 0

Answered
Plotting graph in matlab
You can plot them on one set of axes, but then they are going to overlap: figure; plot(t,x,t,y); Or you can plot ...

9 years ago | 0

Answered
Plot of complex numbers
z1 = complex(zeros(k,1); for n=1:k Z=(alpha/z0)+(beta/z1) z0=z1; z1(n)=complex(real(Z),imag(Z));...

9 years ago | 0

Answered
How to enter this program?
Here is a faster and simpler approach: a = 0; while a < 120^2 a = a + 13*16; end

9 years ago | 1

Answered
How to enter this program in matlab?
*Your original MATLAB code* Here is the code as you posted it with a bit of improved formatting to make it more readable: ...

9 years ago | 0

Answered
How to enter this program in matlab?
Here's a start: g = 9.81; v0 = 5; phi = ... x = 0; y = 0; while y > 0 ... ......

9 years ago | 0

Answered
Mirrored result when inverse Fourier Transform the real part of the Fourier Transform
I don't think that is the correct way to compute the <http://en.wikipedia.org/wiki/Analytic_signal analytic signal>. What you w...

9 years ago | 0

Answered
Mirrored result when inverse Fourier Transform the real part of the Fourier Transform
There is a theorem, which is relatively easy to prove, that states: _The Fourier transform of a real-valued signal is conjugate ...

9 years ago | 1

Answered
Change gain while running the simulation
Replace the gain block with a product block.

9 years ago | 0

Answered
Plotting the convolution of two signals
Please try: t_c = -6:0.1:20; and: dt = t(2) - t(1); c_x_h = dt*conv(x_t1,h_t);

9 years ago | 1

| accepted

Answered
Random secuence {-3,-1,1,3}
x = 2*randi([0 3],100,1) - 3;

9 years ago | 0

Answered
how can i solve this problem give me a useful answer ASAP
Here's a start: n = -15:15; x = zeros(size(n)); x(n>=0) = 0.75; figure; stem(n,x); a = 0.15; ...

9 years ago | 0

| accepted

Answered
Simulink filter using frequency response transfer function
Here's a start: beta = alpha/(2*pi)^2; omega = 2*pi*f; phi = -beta*omega.^2; groupDelay = -2*beta*omega; ...

10 years ago | 0

| accepted

Answered
A problem with my digital communication code
Please try using the <http://www.mathworks.com/help/comm/ref/comm.generalqammodulator-class.html General QAM Modulator> and <htt...

10 years ago | 1

| accepted

Answered
A problem with my digital communication code
Instead of hH.PhaseOffset = pi/4; please try H.PhaseOffset = pi/4;

10 years ago | 1

Answered
storing an image intensity value as an array
val = img2(:);

10 years ago | 2

| accepted

Answered
problem in vectorize script
a = round(50*rand(5,7)+50); b = 2*a; b(a<60) = -a;

10 years ago | 0

Answered
Problem in plotting using semilogx() function
Vectorized code, no for-loop necessary: w = 0.1:0.01:10; R = (256-(16*w.^2))./((16-(w.^2)).^2+(10*w).^2); I = -160...

10 years ago | 1

| accepted

Answered
How to: Merging multiple graph lines
x = [ x1 x2 x3 ... ]; N = length(x)/length(y); y = repmat(y,1,N); plot(x,y);

10 years ago | 1

Load more