Réponse apportée
i have encountered a parse error, how do i fix it ?
You have terms like: (Xbb - cx)cos(tdegree) That's not allowed, you have to explicitly put a '*', '.*' , '/' or a './' between...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
Goodness-of-fit for a plane
Well, my first measure would be to look at the residuals and make sure that they look randomly distributed. If your data-points ...

plus de 7 ans il y a | 0

Réponse apportée
How to calculate covariance using the wcoherence function
Well, to me it looks as if the wcoherence function returns a normalized cross-spectra, i.e. something like WC = FT(A).*FT(B)/sq...

plus de 7 ans il y a | 0

Réponse apportée
What is the meaning of Wavelet coefficient which are small in value.
That is a wavelet coefficient that has a significantly smaller value than the others. See also: Fourier transform, linear tra...

plus de 7 ans il y a | 1

Réponse apportée
Double click opens in current running Matlab instance on Linux
So you want something like having your Linux filemanager send an instruction to edit a file to a running matlab? If so I've neve...

plus de 7 ans il y a | 0

Réponse apportée
Frame by frame freqeuncy analysis of voice.
Have a look at the documentation for the spectrogram function, that should do what you want. 0.025 is a rather short time so per...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
Making plots look beautiful
You shouldn't manipulate your data that way. Your counting data is statistically "perfect" so you have to treat it as such, you ...

plus de 7 ans il y a | 1

Réponse apportée
I got a difficult matlab code to interpret at my job
Get yourself some pairs of "valid input-files" then at the command-line type: dbstop in accuracy_result Then run the function ...

plus de 7 ans il y a | 0

Réponse apportée
How can numerically compute eigenvalues of an ordinary differential equation in MATLAB?
Have a look at what you can do with chebfun. It seem to cover eigenvalue/eigenfunctions of ODEs in some detail: Chebfun ODE-eig...

plus de 7 ans il y a | 1

Réponse apportée
Calculate derivative of erfcx(x) function
Just plug in the definitions of the erfcx function into your symbolic calculations? Or do the differentiation by hand? HTH

plus de 7 ans il y a | 0

Réponse apportée
How to plot Power spectral density vs. wavenumber for a two dimensional data
Well for the power-spectral density of the entire image you can just look at the power of the 2-D fft: fData = fft2(d); % pad w...

plus de 7 ans il y a | 0

Réponse apportée
I want to print this statement 200 times using a loop or fprintf
for i_n = 1:200 fprintf('text-for-row %d\n',i_n) fprintf('text-for-next-%02d-row\n',i_n) end HTH

plus de 7 ans il y a | 1

Réponse apportée
Substitution to solve Coupled differential equations
Just look at the examples for ode45 - there should be some example explaining how to write a function returning dxdt when calle...

plus de 7 ans il y a | 0

Réponse apportée
Image processing of an echocardiogram image
Well, for this homework task you'll get a hint: In the gray-scale area the R, G and B-layers of your image all have the same va...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
Second argument must be a scalar or vector of length 2. (fzero)
Either you want a range for Mn0 where you want fzero to search for a minimum, or you want to run fzero with multiple starting po...

plus de 7 ans il y a | 0

Réponse apportée
solve differential equation that have a time variant function and terms ode45
That should be just what the odeNN-suite of functions are made for. Just write yourself a function where you express the 2nd ord...

plus de 7 ans il y a | 0

Réponse apportée
scatter polar plot interpolation
Have a look at the help for TriScatteredInterp, griddata those functions should help you interpolate between your measurement po...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
How to fill between curves
Try something like: f_of_t = f(t); g_of_t = g(t); fill([t,flilr(t)],[f_of_t,fliplr(g_of_t)],'r') HTH

plus de 7 ans il y a | 0

Réponse apportée
Problem with fitting curve with a user defined function directly
Well replace P and γ in your equation with those fixed values - that should leave you with A, and w, as free parameters to fit ...

plus de 7 ans il y a | 1

| A accepté

Réponse apportée
How to solve differential equations that are in matrix form?
This seems to be exactly the type of ODE the odeNN-functions are designed to solve. Just put your ode into a function: function...

plus de 7 ans il y a | 0

Réponse apportée
Matlab rasterizing vector graphics
I was under the impression that we only get proper vector-graphics when using the painters renderer, and that we get rasterized ...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
"Quality" property of VideoWriter object doesn't do anything. How to get higher quality mp4 video?
It used to be so that movie2avi and VideoWriter didn't bother with the quality setting on Linux-machines - perhaps that's what y...

plus de 7 ans il y a | 0

Réponse apportée
filtfilt changes signal amplitude badly - how to choose the right filter?
Don't instantly start looking at your data after differentiation - differentiation is a noise-amplifying operation! First you ha...

plus de 7 ans il y a | 1

| A accepté

Réponse apportée
Hints to smoothe noisy data
It sounds like you want a filter that is similar to what you get with the wiener2 function - from the top of my head I dont reme...

plus de 7 ans il y a | 0

Réponse apportée
2D contour of X,Y,Z vectors
If you've made a matrix Z corresponding to the x and y-values (that seems to be well-behaved) this should work: contour(x,y,z) ...

plus de 7 ans il y a | 0

Réponse apportée
How to validate high pass filtered images with original image?
Well "validate" a high-pass filtered image to the original image is a slightly confusing concept to me - by high-pass filtering ...

plus de 7 ans il y a | 1

Réponse apportée
Collapsing preallocated memory of sparse matrix
Is there a particular reason you dont collect the non-zero values and their matrix indices into 3 arrays and then after all thos...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
Generating random number.
Well, slightly unclear question, but I'll try answering: "you need to generating some given number of random points from a Gauss...

plus de 7 ans il y a | 1

| A accepté

Réponse apportée
HOW TO SEPARATE NUMERICAL DATA FROM A TEXTFILE?
Well you need to find out how many levels you have in your height-arrays, for that I suggest you take a look at the function uni...

plus de 7 ans il y a | 0

Réponse apportée
ODE Solver Running Very "Slowly"
No, no, no, noo! Do not use the ODE-suite functions to calculate trajectories of particles in B (and E) - fields. They are ut...

plus de 7 ans il y a | 2

Charger plus