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

11年以上 前 | 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年以上 前 | 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年以上 前 | 4

| 採用済み

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

11年以上 前 | 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年以上 前 | 0

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

11年以上 前 | 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年以上 前 | 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年以上 前 | 1

| 採用済み

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

11年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 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年以上 前 | 0

| 採用済み

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

11年以上 前 | 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年以上 前 | 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年以上 前 | 0

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

11年以上 前 | 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年以上 前 | 0

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

11年以上 前 | 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年以上 前 | 0

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

11年以上 前 | 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年以上 前 | 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年以上 前 | 0

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

11年以上 前 | 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年以上 前 | 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年以上 前 | 1

| 採用済み

回答済み
Flip the Bit vector
fliplr

11年以上 前 | 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年以上 前 | 0

| 採用済み

さらに読み込む