Beantwortet
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 ...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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); ...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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, ...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 3

| akzeptiert

Beantwortet
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...

mehr als 12 Jahre vor | 6

| akzeptiert

Beantwortet
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 ...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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 -...

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

Beantwortet
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,...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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 ...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
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. ...

mehr als 12 Jahre vor | 0

Beantwortet
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...

mehr als 12 Jahre vor | 0

Mehr laden