Respondida
error in ( imaqhwinfo ) command . any help ?
It seems maybe you do not have the Image Acquisition Toolbox installed in R2013b. If you enter >>ver Do you see the ...

más de 12 años hace | 1

| aceptada

Respondida
Output argument "min_dist" (and maybe others) not assigned during call to
Without running your code, I see that you have min_dist assigned inside an if statement if std2(distance) < std2(final_arra...

más de 12 años hace | 0

Respondida
how to download Computer Vision System Toolbox
You need to contact MathWorks for a license for the toolbox. <https://www.mathworks.com/company/aboutus/contact_us/contact_sa...

más de 12 años hace | 1

| aceptada

Respondida
How to calculate in v(k) - v(k-1) in M file
you can use the diff() function in MATLAB. That is v(k)-v(k-1) Also in R2013b if you have DSP System Toolbox, you can use the...

más de 12 años hace | 0

Respondida
how can i put the type de fir1 window as input in fuction?
function [c1 c9] =CalculateFilterCoeff(N,D,windtype1) if (mod(N,2) == 0) w1= feval(windtype1,N); w2= feval(wi...

más de 12 años hace | 0

| aceptada

Respondida
Limiting vectors to a certain number of rows
It depends which 4 rows you want to choose out of each of the matrices. Do you always want the first 4 rows? If so, then in y...

más de 12 años hace | 0

Respondida
Correct way to evaluate the PSD
You can't compare your code to a Welch estimate. A Welch estimate does not simply use a window. A Welch estimate breaks up the d...

más de 12 años hace | 0

Respondida
How to use 'if' and 'else' function for equations that are different for a range of x
Use logical indexing: So for example: x = 0:0.01:1; f = zeros(length(x),1); f(x>=0 & x<=0.5) = x(x>=0 & x<=0.5).^2...

más de 12 años hace | 0

Respondida
Limiting the number of rows of a vector
What size is tC now? tC = randn(100,1); tC = tC(1:4,1); %or tC = tC(1:4); or idx = 20; tC = randn(100,1); ...

más de 12 años hace | 0

Respondida
plotting fundamental wave from a square wave
I get simulation errors trying to run your model, but if I look at the ScopesData2 struct array -- I replaced your scope block w...

más de 12 años hace | 0

Respondida
FFT IFFT (single and double spectrum)
What are you doing to the signal that you have to use the inverse Fourier transform? If you are trying to filter the signal, ...

más de 12 años hace | 0

Respondida
Am I corrupting my help browser somehow?
Hi Matt, this is known bug due to IE11. See the following: <http://www.mathworks.com/matlabcentral/answers/104025#answer_1172...

más de 12 años hace | 3

| aceptada

Respondida
Is there a way to clear docsearch highlighting?
Glad that helped Matt, just to follow up there is an easier way that was actually release noted in 13a -- use the Esc key Fro...

más de 12 años hace | 6

| aceptada

Respondida
i write this program in matlab M file but it is not working can nay body help me how i can change from real positive integer values to negative values because my answer is -5.02 and work space is not showing that
You should show us what kind of inputs you expect. I think the problem you have is that I think you are missing a * operator ...

más de 12 años hace | 0

Respondida
Wavelet cross coherence statistics
<www.ann-geophys.net/26/3819/2008/angeo-26-3819-2008.pdf> The linked paper derives it for two white noise processes. For some...

más de 12 años hace | 0

| aceptada

Respondida
questions on assigning values from a vector
x = randn(10,1); for nn = 1:10 eval(['x' int2str(nn),' = x(nn);']); end But eval() is pretty ineffic...

más de 12 años hace | 1

| aceptada

Respondida
Plot fft result on linear period scale?
If you really want to see the periods, then no you just have to plot by period. Fs = 1000; t = 0:1/Fs:1-1/Fs; x = cos...

más de 12 años hace | 0

Respondida
How do I download 32-bit MATLAB?
It the right corner next to Platform: there is a drop down menu. Windows 32-bit is an option there. I'm assuming that you are t...

más de 12 años hace | 0

| aceptada

Respondida
returning output of nested function
You have to assign fval to one of the outputs of the top-level function. Or add fval as an output of the top-level function -...

más de 12 años hace | 0

| aceptada

Respondida
code created 'stopSigns.mat'
What do you mean you cannot create and load cups.mat? Did you use the trainingImageLabeler app?

más de 12 años hace | 0

| aceptada

Respondida
Negative Log Likelihood is a negative number?
I think your problem is that this statement is not true: "The fact is that likelihood can be in range 0 to 1. " There's noth...

más de 12 años hace | 0

Respondida
Calculate THD using fft
The Signal Processing Toolbox makes this easy with thd()

más de 12 años hace | 0

Respondida
Generation of random phase factors.
Maybe you want something like this: N = 4; % number you want MaxAngle = floor(360/N)-1; StartAng = randi([0 MaxAngle],1,...

más de 12 años hace | 1

| aceptada

Respondida
Generation of random phase factors.
The way you have set it up, the phase angles are not random If you really want phase angles randomly chosen to cover the inte...

más de 12 años hace | 0

Respondida
How to find a fourier inverse transform using MATLAB Program
If you have the symbolic toolbox use ifourier() and multiply your function by the Heaviside function to give you an integration ...

más de 12 años hace | 0

| aceptada

Respondida
Diceret Wavelet Transform Detail Function
Wavelet filters act like bandpass filters in particular way: level j --approximately (Fs/2^(j+1) Fs/2^j] How concentrated ...

más de 12 años hace | 0

| aceptada

Respondida
how to calculate the spectrum fourier ?
What is the length of test? You do not give us that. You create your frequency vector based on: N=10000; But is that th...

más de 12 años hace | 0

Respondida
Why in the heck does this code work?
Just look at it one bit at a time. The first time, you take an array of zeros and then set every other row and every other colum...

más de 12 años hace | 1

| aceptada

Respondida
How to avoid log(0) within an area plot?
Instead of plotting the y-axis on a log scale, you can first take the log10() or your data and then set the -Inf to 0. ...

más de 12 años hace | 0

Respondida
I can't seem to get matlab scalogram program to run without the following errors...
I agree with cyclist -- you should definitely always format your code. There error you post has nothing to do with the wavel...

más de 12 años hace | 0

Cargar más