Réponse apportée
What kind of optimization algorithm?
Stick your numerical data in a vector and then call min(.) or max(.) of that vector. This gives you the global min or max.

presque 12 ans il y a | 0

Réponse apportée
i need to find an equation that interpolates for a 3d set of data......
Look up the command interp3 in MATLAB's documentation which comes with MATLAB doesn't need any specific toolbox.

presque 12 ans il y a | 0

Réponse apportée
Setting up a function to use with ODE solver
You need to write the equation in the dimentionless form. You cannot just simply write numbers like m = 9.10938188 * 10^-31...

presque 12 ans il y a | 0

Réponse apportée
what is the mathematical notation equivalent to abs(A) for matrix A?
in office you can type ||A|| as to represent abs(A)

presque 12 ans il y a | 0

Réponse apportée
Question about Taylor Series While loop.
add this line to the beginning of your code: Errrr =1;

presque 12 ans il y a | 1

Réponse apportée
Extract sequences from vector
<http://www.mathworks.com/matlabcentral/answers/44977-how-can-i-generate-all-possible-combinations-from-multiple-sets-of-nch...

presque 12 ans il y a | 0

Réponse apportée
Problem with computing an integral of a function
change the fun to fun = @(t) (sin(2*pi*t*697).*(sin(2*pi*t*941)+sin(2*pi*t*1477)))

presque 12 ans il y a | 0

| A accepté

Réponse apportée
Identify a connecting line
here are some useful command you can (may want to) use : BlocksYoureLookingFor = find_system(gcs,'BlockDialogParams','MyDlg...

presque 12 ans il y a | 0

Réponse apportée
Renaming and deleting files using MatLab
doc system system Execute operating system command and return result Syntax system('command') [status, resul...

presque 12 ans il y a | 0

Réponse apportée
derivative of a function of two variables
y = L1*cos(q1)+L2*cos(q2) yp =-L1*sin(q1)-L2*cos(q2) Do you want to take the derivative with respect to both independent...

presque 12 ans il y a | 0

Réponse apportée
extrapolation.: Negative values obtained
Here's the whole concept of polynomial curve fitting: A first order polynomial is a line, like y=a*x+b which has only 2 param...

presque 12 ans il y a | 0

Réponse apportée
How to solve a system of nonlinear 2nd order differential equations?
You need to use the optimization toolbox and it's fsolve(.) routine. You can embed all your nonlinear functions (can be an inte...

presque 12 ans il y a | 0

Réponse apportée
How can generalize several "For loop" ?
A=input('Enter nxn matrix:') B=input('Enter solution matrix(n*1):') [n n]=size(A); L=zeros(n); for i...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
extrapolation.: Negative values obtained
The reason that the last data point is calculated negative is that, the last column is decreasing and if you take the last 4-5 p...

presque 12 ans il y a | 0

Réponse apportée
Why doesn't my ODE solution to a simple exponential decay model go to zero?
The problem comes from this line set(gca, 'YScale', 'log'); Even if you do your own log10 for the y axis data by defining...

presque 12 ans il y a | 0

Réponse apportée
I have an equation that is the model equation for the experimental data that I have. I am unsure of how to plot this .
you can do somehthing like this: zmin = 1; zmax = 10; Rmin = (zmin/250)^(1/1.2); Rmax = (zmax/250)^(1/1.2); N = 1000...

presque 12 ans il y a | 0

Réponse apportée
I have an equation that is the model equation for the experimental data that I have. I am unsure of how to plot this .
See MATLAB help on loglog, plot, semilogx, semilogy

presque 12 ans il y a | 0

Réponse apportée
How to do parameter estimation of a ODE based model?
There are lessons on how to design an observer for a system in controls theory. They use the output of the estimator as the i...

environ 12 ans il y a | 0

Réponse apportée
how will use nested loop
Z = zeors(11,11); for i=1:11 for b=2:12 z=i*b; end end

environ 12 ans il y a | 0

Réponse apportée
solving simple equations in matlab
d1 = 1:5; d2 = 6:10; for j=1:5 dat(j,:) = d1./(10.*d2(j)); end dat

environ 12 ans il y a | 0

Réponse apportée
Z transformation please help
Here's the answer: 2 + 4/z + 5/z^2 + 7/z^3 + 1/z^5 ROC is the whole complex domain.

environ 12 ans il y a | 0

Réponse apportée
Why do I get this error?
Just worked on my computer.. here's your result: >> bandwidth(sys) ans = 2.0385 My ver command gives this: ...

environ 12 ans il y a | 0

Réponse apportée
How to stop recurring error message if Ctrl+C doesn't work!? (help!!!)
Ctrl+C works when the command window is the "current" or "chosen" window of MATLAB. You need to click on this window before doin...

environ 12 ans il y a | 0

Réponse apportée
Control Gui with another Gui
I think you need to remove the line handles = 'Omhoog5Links' because handles includes all the data of the GUI and you are...

environ 12 ans il y a | 0

Réponse apportée
Contour lines above surf or mesh plot (plot viewed top down)
You have a typo at this line: [c,h]=contour(data.X,data.Y,zy,'k',); Change it to [c,h]=contour(data.X,data.Y,zy,'k'...

environ 12 ans il y a | 0

Réponse apportée
How do you change the color of a selected area under a curve
Here it is: Note that I only changed your plot() function to fill() and I added the end point and the first point of your data ...

environ 12 ans il y a | 0

Réponse apportée
how can i sort a matrix (all rows and columns are sorted) without using any special function like "sort"?
If you don't want to use sort() then you can write your own sorting algorithm. Like this one (untested): function B = mysort...

environ 12 ans il y a | 0

Réponse apportée
Mass spring damper system with sinusoidal input.
You can use MATLAB's internal ODE solvers like ODE45 to solve these differential equations numerically. See doc ODE45 for...

environ 12 ans il y a | 0

Réponse apportée
How the transfer function block calculates the output?
2.5*e^(-2.5t) is the Laplace inverse of 2.5/(s+2.5) not (2.5/s+2.5). The Laplace transform of (...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
Expand the Y-axis Scale
you can do this before axis equal: axis([0 1 0 0.9])

environ 12 ans il y a | 0

| A accepté

Charger plus