Réponse apportée
Problem in mishgrid and contour function
This is not even a probable user error. A CERTAIN user error. You have done something wrong. Nobody knows what, since you have...

environ 2 ans il y a | 0

Réponse apportée
How to solve Ax=b with some all knowns except some x values
I think you may be missing some very important pieces of information. The example you show is a homogeneous one, where a non-tri...

environ 2 ans il y a | 1

Réponse apportée
difficulty solving simulataneous equations
You have 3 equations, and you calim to have 4 unknowns. However, you only tell solve that you want to solve for TWO unknowns, ia...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
How to find the largest cuboid inside a set of points in 3D?
Can a corner of the cube stick out between some of those points? If that is acceptable, you NEED to say so, because it would com...

environ 2 ans il y a | 0

Réponse apportée
Determine intersection between plane and polyhedron
Um, not too hard, as long as the polyhedron is convex, so perhaps a convex hull. If it is not convex, then it is more difficult....

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Interpolation schemes that produce positive second derivatives of the interpolant
Are there easy adjustments? Not really. At least not totally trivial. It sounds as if you want an interpolant, NOT an approximan...

environ 2 ans il y a | 0

Réponse apportée
the size of picture show three data?
A black and white image typically has one channel only. All you need to know is how bright each pixel is. But a color image st...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Fast calculate the inverse of a lower triangular matrix
Do not write your own inverse code. Gaussian elimination is great for teaching a student about matrices, but too often they then...

environ 2 ans il y a | 0

Réponse apportée
Plotting perpendicular lines but they are not perpendicular.
Both @Stephen23 and @Voss have explained the issue perfectly, so I am just adding some additional information to clear things up...

environ 2 ans il y a | 2

Réponse apportée
How to find the equation of the data available of a graph?
I'm sorry, but high order polynomials (as suggested by @akshatsood) are always a bad idea. You will run into numerical problems ...

environ 2 ans il y a | 3

Réponse apportée
Integral with limit variable
Multiple ways to solve this. First the easy, just as a numerical integration using a trapeziodal rule. beta=2.1; eta=1500; t=...

environ 2 ans il y a | 0

Réponse apportée
Finding a common step value between an array of non-uniformly distributed points
This is generally impossible to do exactly, IF your numbers are floating point. Let me repeat, effectively impossible. If your n...

environ 2 ans il y a | 3

| A accepté

Réponse apportée
matlab strange result for mean of single vs double
You need to understand what you did, AND you need to understand floating point arithmetic. a=single([99 100 65 101]'+zeros(4,51...

environ 2 ans il y a | 3

Réponse apportée
find similar numbers within a matrix
Lots of good answers posted. I did not see this one. load M.mat size(M) The array M has 61 rows. P = [-3.4970900e+01 -2.02...

environ 2 ans il y a | 1

Réponse apportée
Is there any way to convert the matlab code into a flow chart
As @Teresa Hubscher-Younger said, this is not for Stateflow to solve, not the purpose of that tool. Instead, you might try the M...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
can any one help me to find empirical equation with 3 or 4 parameters for this data, And of course with different parameters for each curve
Sadly, while you want some magical form for each of these curves, that is not so easy to find. Essentially, it looks like each o...

environ 2 ans il y a | 1

Réponse apportée
Questions about operation A\B
The only time when there would/should ever be any significant difference is if the matrix is singular. And in that case, there w...

environ 2 ans il y a | 1

Réponse apportée
Is there a built-in function to concatenate arrays in the third direction?
Logically, one would just use cat. How might you have found this? READ THE HELP! That is, near the end of the help for all MATL...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
How to evaluate sym using certain known multiple values?
Easy peasy, though using matlabFunction here is not my recommendation. syms('x',[1,3]) So x is a vector, with elements [x1,x2,...

environ 2 ans il y a | 2

Réponse apportée
Trying to Solve quadratic inequalities
syms x ineq = x^2-2*x+7>12; sol = solve(ineq, x,'returnconditions',true) sol.x sol.conditions The result is two half-infini...

environ 2 ans il y a | 1

Réponse apportée
Compute linear interpolant in pp form and find derivative
n = 10; x_grid = linspace(-5,5,n)'; f_grid = x_grid.^2; % A simple quadratic polynomial fn = spapi(2,x_grid,f_grid) Convert ...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
How can I create randomly scattered points between two circles?
Let me explain it differently than the rest, with a simple, intuiitive derivation. Again, the problem is perfectly symmetric in...

environ 2 ans il y a | 2

Réponse apportée
Hi, everyone! I have a question about generating random meshgrid.
Any better way? Sorry, but no. You want to generate a "randomly" perturbed mesh, but one where each cell has exactly equal area?...

environ 2 ans il y a | 0

Réponse apportée
Determine if 3d point belongs to polyhedron
Since I'm going to show how to do it using a triangulation anyway, I might as well post it as an answer instead of a comment. x...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
Coefficent of determination in a nonlinear system
R^2 is not always a meaningful thing to compute for nonlinear regression models. On some problems (those with no constant coeffi...

environ 2 ans il y a | 0

Réponse apportée
How to find the slope of a linear area
There is NO linear region in such a curve. Only a region which is moderately close to linear. It is a CURVE. Not a straight line...

environ 2 ans il y a | 1

Réponse apportée
How to locate the answer in the given code?
Let me expand on what @Dyuman Joshi has said. Suppose you use any function in MATLAB. We will see what happens here, if it is us...

environ 2 ans il y a | 2

Réponse apportée
Record n values and once finished start replacing the oldest values with new ones
There are many ways to solve such a problem. A simple one is to just do a shift at each step, shuffling all of the elements in t...

environ 2 ans il y a | 0

Réponse apportée
Matlab giving incorrect matrix multiplication :/
This is a common error I see novices to programming make. They do something strange, get something stranger yet, and immediately...

environ 2 ans il y a | 2

Réponse apportée
Thomas algorithm tri diagonal matrix
DON'T WRITE YOUR OWN CODE FOR A PROBLEM LIKE THIS. Instead, just create the tridiagonal matrix, as a sparse matrix. Then use b...

environ 2 ans il y a | 0

Charger plus