Answered
synthesize PSD, scaling and units of ifft(X)
ASD = sqrt(PSD*fs/N);

11 years ago | 0

Answered
Why no APSK Modulation in matlab ?
Please check out this item on <http://www.mathworks.com/matlabcentral/fileexchange/31039-dvb-s2-getting-signal-constellations-an...

11 years ago | 0

Answered
i have a large matrix whose elements is 1 and 0; how to conver each row to decimal ,like bin2dec
N = size(Qbinnum,2); k = ((N-1):-1:0)'; v = 2.^k; cgroup = Qbinnum*v;

11 years ago | 1

| accepted

Answered
Natural frequency by 'damp(sys)'
% Undamped natural frequency (radians per second): omega_0 = sqrt(10); % Attenuation coefficient (radians per sec...

11 years ago | 1

Answered
FFT not working on periodic data!?!?!?
Please try converting the source data to zero mean before taking the FFT: mu = mean(msum2(:)); msum2 = msum2 - mu; ...

11 years ago | 0

Answered
How do I compare two large matrices?
N = size(x,2); u = ones(1,N); d = abs(x - y*u); v = sort(d); z = v(1:10,:);

11 years ago | 1

| accepted

Answered
Problem about Output in a txt file?How to solve it
Open the file with permission set to _append_: fileID = fopen('exp.txt','a');

11 years ago | 0

| accepted

Answered
Simple Error: Too many input arguments
You need a pair of square brackets: answer=input(['You just told me that you are ', age, 'is that correct? -> '], 's');

11 years ago | 0

Answered
How to go from frequency response of simple delay to impulse response.
Fs = 2000; N = 12000; dF = Fs/N; f = (-Fs/2:dF:Fs/2-dF)'; tau = 5; H = exp(-1i*2*pi*f*tau); h =...

11 years ago | 0

| accepted

Answered
How i can call a function 100 time?
for k = 1:100 ... ... end

11 years ago | 0

Answered
index exceed matrix dimensions
Please try changing the line for kb=1:size(y) to the following: for kb=1:size(z) Also, please correct th...

11 years ago | 0

| accepted

Answered
Signals Question difference equation: Write a function y=diffeqn(a,x,yn1) which computes the output y[n] determined by the first-order system y[n]=ay[n-1]+x[n]
Here's a start. Create a file called |diffeqn.m| and insert the following code: function y = diffeqn(a,x,yn1) % ...

11 years ago | 0

Answered
How to convert matlab code to VHDL code?
<http://www.mathworks.com/products/hdl-coder/ HDL Coder>

11 years ago | 0

| accepted

Answered
12 bit binary generator
You can easily write your own using the *<http://www.mathworks.com/help/simulink/slref/matlabfunction.html?searchHighlight=matla...

11 years ago | 0

Answered
Insert an identity matrix into a larger dimension of null matrix
N = diag([0 0 1 1 1])

11 years ago | 0

| accepted

Answered
How to repeat the use of a function?
You need to create the figure and axes in the script before you call the function that does the plotting. You should pass the a...

11 years ago | 0

Answered
user input into simulink model
<http://www.mathworks.com/help/simulink/ug/model-callbacks.html Model Callback Functions>

11 years ago | 0

Answered
Definition and Computation of Power Spectral density with FFT
Why don't you use MATLAB to experiment with several different approaches on one or more very simple test signals, like pure tone...

11 years ago | 0

Answered
Calculating impulse response of RLC circuit
omega_0 = 1/sqrt(L*C); alpha = R/L; zeta = alpha/omega_0; Q = omega_0/(2*alpha); if alpha > omega_0 ...

11 years ago | 0

Answered
INTRODUCING A DEFINED INPUT IN SIMULINK
Use the <http://www.mathworks.com/help/simulink/slref/fromworkspace.html From Workspace> block.

11 years ago | 0

| accepted

Answered
How to display the value of a variable used in a Constant (Simulink) block under it?
Please review the following: <http://www.mathworks.com/help/simulink/ug/block-properties-dialog-box.html Block Properties D...

11 years ago | 0

Answered
how to dynamically pause the matlab into debugging while execution by a Gui?
Create a callback function for the "go to debugging" checkbox. Inside the callback, include the command dbstop; When f...

11 years ago | 1

| accepted

Answered
Flip the Bit vector
fliplr

11 years ago | 0

| accepted

Answered
Trying to Create a Riemann Sum function from scratch, keep getting function error.
Please type the following at the MATLAB Command Prompt: F = @(x) 2*x; R = RiemannSum(F,1,10);

11 years ago | 0

| accepted

Answered
curves are incorrect. Fourier Series.
I would recommend using the |fft| function.

11 years ago | 0

Answered
generating aperodic impulse train or triangular pulse or rectangular pulse
doc rectpuls doc tripuls doc pulstran

11 years ago | 0

Answered
HELP how to solve this error code : Error using .* Matrix dimensions must agree.
What are the results of: size(Y0fft) size(PhaseY0_shift) They need to be the same size and shape to use the |.*|...

11 years ago | 0

Answered
Creating an array of given size and increment
How about the following? xStart = 5; dx = 0.001; N = 2000; x = xStart + (0:N-1)*dx; Is that what you are ...

11 years ago | 9

| accepted

Answered
Need some suggestion on creating a presentation?
Please review this video: <http://www.mathworks.com/videos/publishing-matlab-code-from-the-editor-69016.html Publishing> ...

11 years ago | 0

Answered
Matrix dimensions must agree.
doc dbstop doc dbcont doc dbquit doc dbstep

11 years ago | 1

Load more