Risposto
Compilation don't work. Why?
Try using Microsoft Visual C++ instead.

oltre 11 anni fa | 0

Risposto
FFT code in Fortran
First, you do not need to use loops in MATLAB to compute the values of vectors and matrices. Second, if you want to compute the...

oltre 11 anni fa | 0

Risposto
how do i take 64 samples from a sine wave and perform 256 point DFT on that?
>> doc fft >> doc fftshift

oltre 11 anni fa | 0

Risposto
how do i take 64 samples from a sine wave and perform 256 point DFT on that?
Fs = 30; dt = 1/Fs; N = 64; t = dt*(0:N-1)'; Fc = 8; x = cos(2*pi*Fc*t); M = 256; ... ...

oltre 11 anni fa | 0

Risposto
Simple for loop question.
dx = 0.01; x = (0:dx:10-dx)'; idx = (x < 5); C = ... D = ... z = ( C + x.^2 / 2 ) .* idx + ( D ...

oltre 11 anni fa | 0

Risposto
root function does not work:(
>> roots(a)

oltre 11 anni fa | 1

| accettato

Risposto
i need a help in [simulink second order equation]
<http://www.mathworks.com/academia/student_center/tutorials/slregister.html Simulink Tutorial>

oltre 11 anni fa | 0

Risposto
how to simplify multi- if statement
aStr = 'ABCDE'; x = uint8(aStr) - 64;

oltre 11 anni fa | 0

Risposto
i need a help in [simulink second order equation]
# Drag four integrators from the Library Browser into your model. # Drag six gain blocks. # Drag two adder blocks and two subt...

oltre 11 anni fa | 0

Risposto
How to generate inphase and quadrature phase of a signal?
z = x + j*y; v = x.*cos(2*pi*Fc*t) - y.*sin(2*pi*Fc*t); I = real(z); Q = imag(z);

oltre 11 anni fa | 0

Risposto
Phase shift degree between 2 waveform
>> doc xcorr

oltre 11 anni fa | 0

| accettato

Risposto
problem with correct frequency units using pwelch or other spectral estimate functions in matlab
fs = 12; % samples per year

oltre 11 anni fa | 0

| accettato

Risposto
Make 3 lines with different values at Y axis
>> doc line

oltre 11 anni fa | 0

Risposto
How to compute sqrt of complex number ?
First method: r = roots([1 0 z]); phi = angle(r); v = r(phi<0); Second method: r = roots([1 0 z]); ...

quasi 12 anni fa | 2

| accettato

Risposto
How to keep track of iterate numbers in variable names?
N = 4; product = zeros(N,1); for k = 1:N product(k) = 3*k; end

quasi 12 anni fa | 1

Risposto
Fourier Transform In matlab
>> doc fftshift

quasi 12 anni fa | 0

| accettato

Risposto
Creating a matrix containing binary vectors as elements
N = 4; A = zeros(3^N,N); for k = 1:N r = N - k; v = [ -1*ones(3^r,1) ; zeros(3^r,1) ; ones(3^r,1)...

quasi 12 anni fa | 1

| accettato

Risposto
Sum all the Channels in matrix
R = sum(M,3);

quasi 12 anni fa | 0

| accettato

Risposto
Convolution of two independent normally distributed random variables
Please try: mean(x) std(x) What does it show? Is it what you expected? Why or why not? Likewise: mean(y)...

quasi 12 anni fa | 0

Risposto
Does Matlab have a command to make data smoother like the smooth command in IDL?
>> doc ones >> doc filter

quasi 12 anni fa | 0

Risposto
Writing an algorithm into Matlab syntax
Here is a start: count = zeros(3,1); L = xlsread('C:\\Test.xlsx','Sheet1','A1:B730'); N = 99; x = L(1:N,1)...

quasi 12 anni fa | 0

Risposto
Double to cell conversion.
Please try the following instead: isAccurate = ( data(:,1) == 1 ); HTH. Rick

quasi 12 anni fa | 0

Risposto
Need help re: FFT output scaling
Here is a way to clean up the code and make it easier to understand and debug: %% Initialize close all; clear...

quasi 12 anni fa | 1

Risposto
Need help re: FFT output scaling
I think I know why you are getting 0.25 instead of 1.00 for the magnitudes. There are two separate reasons, each one of which i...

quasi 12 anni fa | 1

| accettato

Risposto
Does the MATLAB's ifft()/fft() do any spectral shaping ?
Walter is correct. FFT does not do any shaping. It is an implementation of the DFT, plain and simple. MATLAB does provide add...

quasi 12 anni fa | 0

Risposto
problem with unit circle
Please try: n = 256; dPhi = 2*pi/n; phi = (-pi:dPhi:pi-dPhi); z = exp(1j*phi); C = [ real(z) ; imag(z) ]; ...

quasi 12 anni fa | 0

Risposto
Which is better – LabVIEW or MATLAB?
MATLAB

quasi 12 anni fa | 1

Risposto
FFT example on MATLAB help
You don't _need_ to divide it by |L|, it is purely a matter of scaling the result by a constant, which does not affect the _shap...

quasi 12 anni fa | 0

| accettato

Risposto
How do I find the std of a specific range of data?
Please try: tic; data = load('a.mat'); % this form is faster than % command...

quasi 12 anni fa | 0

| accettato

Carica altro