답변 있음
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 = @...

대략 15년 전 | 0

답변 있음
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 (...

대략 15년 전 | 1

| 수락됨

답변 있음
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...

대략 15년 전 | 0

답변 있음
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...

대략 15년 전 | 2

| 수락됨

답변 있음
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...

대략 15년 전 | 0

답변 있음
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...

대략 15년 전 | 2

| 수락됨

답변 있음
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...

대략 15년 전 | 0

| 수락됨

답변 있음
Plotting data
This is a possible work around. Instead of rewriting either "polyfit" or "interp1" to take into account both the known Y amplitu...

대략 15년 전 | 1

| 수락됨

답변 있음
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...

대략 15년 전 | 0

| 수락됨

답변 있음
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;

대략 15년 전 | 1

| 수락됨

답변 있음
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) * ...

대략 15년 전 | 0

답변 있음
Gridding and interpolate data
You could use the formulation found in the following reference: Sandwell, D. T. (1987), Biharmonic spline interpolation of GE...

대략 15년 전 | 4

| 수락됨

답변 있음
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 ...

대략 15년 전 | 0

| 수락됨

답변 있음
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 +...

대략 15년 전 | 1

| 수락됨

답변 있음
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...

대략 15년 전 | 0

답변 있음
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&&...

대략 15년 전 | 0

| 수락됨

답변 있음
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...

대략 15년 전 | 0

| 수락됨

답변 있음
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...

대략 15년 전 | 2

| 수락됨

답변 있음
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 ...

대략 15년 전 | 1

| 수락됨

답변 있음
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) ...

대략 15년 전 | 0

답변 있음
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...

대략 15년 전 | 0

답변 있음
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 ...

대략 15년 전 | 0

답변 있음
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 ...

대략 15년 전 | 1

질문


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

대략 15년 전 | 답변 수: 1 | 0

1

답변