Respondida
Basic Looping Help Please?
Try using a |while| loop instead of a |for| loop.

más de 11 años hace | 0

Respondida
Help with Fourier transform fft
function [ X,f,t ] = mydft(x,Fs) % Assumes x is an N x 1 column vector % and Fs is the sampling rate. ...

más de 11 años hace | 1

| aceptada

Respondida
Help plotting parametric equations
MATLAB is case sensitive. So please try plot(X,Y); Also, please use |./| instead of |/| in the two equations.

más de 11 años hace | 4

| aceptada

Respondida
how can I apply low pass filter to a time series data
>> doc fdatool >> doc filter >> doc designfilt

más de 11 años hace | 0

| aceptada

Respondida
Programmatically create annotation with hyperlink
Here are a few links that should help: * <http://www.mathworks.com/help/simulink/ug/make-an-annotation-interactive.html#bt89s...

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 1

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

más de 11 años hace | 0

Respondida
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,:);

más de 11 años hace | 1

| aceptada

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

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

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

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

más de 11 años hace | 1

| aceptada

Respondida
Flip the Bit vector
fliplr

más de 11 años hace | 0

| aceptada

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

más de 11 años hace | 0

| aceptada

Cargar más