Réponse apportée
how to find minimum point at endpoint in matlab, please help.
Andrei's solution is also not a global minimizer. What I propose, should the function change to something crazy like: f = @...

plus de 14 ans il y a | 0

Réponse apportée
fminbnd finding wrong minimum point, please help
"fminbnd" gives local solutions. The curve defined by your function "f" looks like the response from an over-damped oscillator (...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Filling gaps in between lines to make it a continuous line
If you want to do this in 2D, then I think using "interp2" with the "spline" option will only work for input located on a regula...

plus de 14 ans il y a | 0

Réponse apportée
Detrending data using MATLAB detrend - how much error?
I agree with Jan. To be sure, large trends should be removed from data if you are interested in investigating the higher frequen...

plus de 14 ans il y a | 2

| A accepté

Réponse apportée
FIt ellipse to data in polar coordinates
You may want to try modifying the code I put up on: http://www.mathworks.com/matlabcentral/answers/17847-fitting-a-sin-functi...

plus de 14 ans il y a | 0

Réponse apportée
time domain signal reconstruction from frequency domain
Why are you taking just half of the spectrum? You need to apply the modification to the entire frequency range (i.e., both po...

plus de 14 ans il y a | 2

| A accepté

Réponse apportée
Fitting a sin function to a sparse dataset with a known parameter.
Having only a few data points to work with is a little worrisome, but something like this may work: function estimates = fits...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Plotting data
This is a possible work around. Instead of rewriting either "polyfit" or "interp1" to take into account both the known Y amplitu...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
save matrixs in different names
It may not be efficient, but before your "for" loops you can define an empty matrix: mat = []; Then inside your "for" loop a...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
trying to create a variable less than or equal to pi/2 but more than -pi/2
You can create a dx, such as: dx = pi/100; Then define x as: x = -pi/2 : dx : pi/2-dx;

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Basic matrix equation Ax=B with restrictions
If "x" and "b" are column vectors, then your system of equations is like: A(1,1) * x(1,1) + A(1,2) * x(2,1) + ... + A(1,N) * ...

plus de 14 ans il y a | 0

Réponse apportée
Gridding and interpolate data
You could use the formulation found in the following reference: Sandwell, D. T. (1987), Biharmonic spline interpolation of GE...

plus de 14 ans il y a | 4

| A accepté

Réponse apportée
Plotting 3D regions with constraints on x,y and z.
I have done some 3D shapes in the past. It may not be pretty, but it may be an option unless others have more efficient ways of ...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Sum polynomials function help?
If you mean you have polynomials with coefficients defined in x1 and x2 - for example the values in x1 would yield: y = 1*x^3 +...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Plotting multiple matrices in the same plot, so i can seee how the matrices develop trough time?
If you want to make a movie to use outside of Matlab, then look up "getframe" and something like "movie2avi" in the Navigation H...

plus de 14 ans il y a | 0

Réponse apportée
Help programing 2D conduction heat transfer in time, using finite diference method (forward euler for time, centered euler for space).
Do you get any errors... or the result is just incorrect? One problem: Your second to last "elseif" statement has "i<1&&i>5&&...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
how to convert a accelerometer data to displacements
Doing this sort of conversion is best done in the frequency domain. This should work now. Two things weren't working before: 1...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Create a surface plot with colors associated to value on cell
Check out "colormap" in the Matlab Help Navigator. Right under the "Description" section, they talk about creating your own colo...

plus de 14 ans il y a | 2

| A accepté

Réponse apportée
sound sample too short to see higher frequencies?
The Nyquist frequency is, by definition, the highest frequency you can resolve before you start aliasing the signal. This means ...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
How can I display all elements of an array in a single row?
If the string "A" also has end of line characters, then: strf = strfind(A,sprintf('\n')); B = {''}; if ~isempty(strf) ...

plus de 14 ans il y a | 0

Réponse apportée
Extract windows from signals
Are you processing that window of samples inside the loop where you create your "windows" variable. Or are you saving it to do p...

plus de 14 ans il y a | 0

Réponse apportée
Insert & Edit Matlab figures inside Power Point presentations
Probably not. Is it not possible to run Matlab (with those figures open) in the background during the presentation? That way if ...

plus de 14 ans il y a | 0

Réponse apportée
Spline curves ( circular biarcs)
As long as 3 points are not on a line, then these points will fall on a circle. A method I used (a long time ago) was to create ...

plus de 14 ans il y a | 1

Question


Location of warning in code doesn't seem to correspond with actual warning
I have a GUI that contains listboxes, radio buttons, push buttons and other edit boxes. I have a piece of code that updates an e...

plus de 14 ans il y a | 1 réponse | 0

1

réponse