已回答
Basic Looping Help Please?
Try using a |while| loop instead of a |for| loop.

11 years 前 | 0

已回答
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. ...

11 years 前 | 1

| 已接受

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

11 years 前 | 4

| 已接受

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

11 years 前 | 0

| 已接受

已回答
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...

11 years 前 | 0

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

11 years 前 | 0

已回答
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 前 | 0

已回答
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 前 | 1

| 已接受

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

11 years 前 | 1

已回答
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 前 | 0

已回答
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 前 | 1

| 已接受

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

已回答
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 前 | 0

| 已接受

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

11 years 前 | 0

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

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

11 years 前 | 0

| 已接受

已回答
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 前 | 0

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

11 years 前 | 0

| 已接受

已回答
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 前 | 0

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

11 years 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

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

11 years 前 | 0

| 已接受

已回答
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 前 | 0

已回答
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 前 | 1

| 已接受

已回答
Flip the Bit vector
fliplr

11 years 前 | 0

| 已接受

已回答
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 前 | 0

| 已接受

加载更多