Réponse apportée
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 ...

environ 12 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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); ...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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, ...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 3

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 6

| A accepté

Réponse apportée
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 ...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
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 -...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
code created 'stopSigns.mat'
What do you mean you cannot create and load cups.mat? Did you use the trainingImageLabeler app?

environ 12 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
Calculate THD using fft
The Signal Processing Toolbox makes this easy with thd()

environ 12 ans il y a | 0

Réponse apportée
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,...

environ 12 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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 ...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
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 ...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 1

| A accepté

Réponse apportée
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. ...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 0

Charger plus