Réponse apportée
Riots
See <http://www.schwartz-home.com/RIOTS/ Homepage of RIOTS>.

environ 15 ans il y a | 0

| A accepté

Réponse apportée
breakpoints
Assuming your breakpoints are sorted (I'll call them |breakpoints|), you could do something like this: x = 0.55; find(br...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
Using odesolver with functions that have many inputs
The documentation in the link you provide probably applies to an older version of MATLAB than you have. Instead, create an <http...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
general statistics problem: how to best characterize non-normal distributions
You should *NOT* use the peak of your distribution to estimate the mean, because it is not the mean. It is the mode. Since your...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
Create string from a cell array
If you want to be sure that there are no whitespace characters, you could use this: regexprep([names{:}],'\s+','_') _e.g...

environ 15 ans il y a | 0

Réponse apportée
Get tenor between two time points
d1 = datenum('20110610','yyyymmdd'); d2 = datenum('20110716','yyyymmdd'); d2-d1

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Simulation of charged particle in matlab
There is nothing wrong with the physics. I think it is just the numerical stability of your code. The MATLAB ODE suite handles t...

environ 15 ans il y a | 3

| A accepté

Réponse apportée
Solving large linear systems
With the information you have provided, it is difficult to diagnose your problem. Do you get an "out of memory" error if you run...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
Problems with lsqcurvefit
See <http://www.mathworks.com/support/solutions/en/data/1-19B8E/index.html?product=OP&solution=1-19B8E Why do I receive an error...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
Why is plot3 slow when I use it in a loop?
You could try using <http://www.mathworks.com/help/techdoc/ref/line.html line> instead of |plot3|. You'll have to make sure all ...

environ 15 ans il y a | 0

Réponse apportée
Curl function outputting -inf and NaN
If |quiver| works but not |curl|, your coordinates may not have the correct form. They have to be monotonic, as if set up by |me...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Is it possible to avoid symbolic math for below query
As long as B has a nonzero determinant, you could recast it as an eigenvalue problem: det(A+Bx) = det(B)*det(inv(B)*A+Ix) = 0, ...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Answer format for solve()
1. Just specify the variables: solve(...,{v1,v2,v3}) 2. In your solution, if you substitute for all four variables, the equa...

environ 15 ans il y a | 1

Réponse apportée
Symbolic expression bounds
If you have a pre-determined set of variables and a finite number of possible values for them, you might be able to use an appro...

environ 15 ans il y a | 0

Réponse apportée
Curve fitting to data sets with multiple parameters
Clearly the first thing you need to do, if you don't want to get totally frustrated, is spend some time learning MATLAB (see <ht...

environ 15 ans il y a | 0

Réponse apportée
Symbolic expression bounds
It makes little sense to use the Symbolic Toolbox for such an operation because comparisons like |max| and |min| are not allowed...

environ 15 ans il y a | 0

Réponse apportée
search minimum of a parameter function with the constrain that one parameter must be integer
This is an integer programming problem, and MATLAB does not have a function for that (although the FEX does have code for solvin...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
no subsex in Matlab?
There is a |subsex| in R2011a, but not in earlier releases.

environ 15 ans il y a | 0

Réponse apportée
call mupad's subsex from matlab, theta substitution problem.
|theta| is a function in MuPAD. Since it's case-sensitive, you could use |Theta|.

environ 15 ans il y a | 0

Réponse apportée
Effect of gravity on body fixed to a single joint - 1 DOF
See <http://www.phaser.com/modules/elaydi/content/helptips/secondorderode.html this example> of how to convert a second order OD...

environ 15 ans il y a | 0

Réponse apportée
trying to converge a variable/value used in a equation
If you combine these two lines torque_interation(1,i) = (work_increment(1,i)*RPS)/q; deltaKE = work_increment(1,i) - tor...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Solving 3D Vector equations
Interesting equations. The first says that the points l,o,q,c are coplanar, but I'm not sure what the second means. You can sol...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
Best way(s) to master MATLAB?
See <http://www.mathworks.com/matlabcentral/answers/1148-how-to-learn-matlab How to learn MATLAB>.

plus de 15 ans il y a | 2

Réponse apportée
Trajectory Optimization using fmincon
You don't have to have an explicit expression for the objective function and constraints. If you can create a function like this...

plus de 15 ans il y a | 0

Réponse apportée
approximate a function using Hermite spline
Check out <http://www.mathworks.com/help/techdoc/ref/pchip.html pchip>.

plus de 15 ans il y a | 0

Réponse apportée
definite double integration-dblquad-int
I think you may be confusing vectorizing with expansion. You would need to vectorize your integrand to use |dblquad|, but you do...

plus de 15 ans il y a | 0

| A accepté

Réponse apportée
How to use the Finite Difference Method to get the gradient?
Here is an example of a function that uses |gradest| correctly: function [F, g] = myfun(x) fun = @(y) 2*sum(sin(y)) + ...

plus de 15 ans il y a | 0

| A accepté

Réponse apportée
Answers and the FAQ
It would be good to have a link to the FAQ on either the <http://www.mathworks.com/matlabcentral/answers/ home page> or the <ht...

plus de 15 ans il y a | 0

Réponse apportée
Why do you come to "MATLAB Answers"?
For Walter, because even he can't answer *all* of the questions!

plus de 15 ans il y a | 3

Réponse apportée
Multiple contour plots, same colour bar
You can use <http://www.mathworks.com/help/techdoc/ref/caxis.html caxis> to set the limits of each colorbar.

plus de 15 ans il y a | 2

| A accepté

Charger plus