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

7 years ago | 0

| accepted

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

7 years ago | 0

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

7 years ago | 0

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

7 years ago | 1

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

7 years ago | 0

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

7 years ago | 0

| accepted

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

7 years ago | 1

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

7 years ago | 0

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

7 years ago | 1

Answered
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

7 years ago | 0

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

7 years ago | 0

Answered
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

7 years ago | 1

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

7 years ago | 0

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

7 years ago | 0

| accepted

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

7 years ago | 0

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

7 years ago | 0

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

7 years ago | 0

| accepted

Answered
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

7 years ago | 0

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

7 years ago | 1

| accepted

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

7 years ago | 0

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

7 years ago | 0

| accepted

Answered
"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...

7 years ago | 0

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

7 years ago | 1

| accepted

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

7 years ago | 0

Answered
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) ...

7 years ago | 0

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

7 years ago | 1

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

7 years ago | 0

| accepted

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

7 years ago | 1

| accepted

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

7 years ago | 0

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

7 years ago | 2

Load more