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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 2

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

mehr als 2 Jahre vor | 3

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 3

| akzeptiert

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

mehr als 2 Jahre vor | 3

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

mehr als 2 Jahre vor | 1

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 1

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

mehr als 2 Jahre vor | 1

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 2

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

mehr als 2 Jahre vor | 1

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

mehr als 2 Jahre vor | 0

| akzeptiert

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

mehr als 2 Jahre vor | 2

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 1

| akzeptiert

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 1

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

mehr als 2 Jahre vor | 2

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

mehr als 2 Jahre vor | 0

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

mehr als 2 Jahre vor | 2

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

mehr als 2 Jahre vor | 0

Beantwortet
Help with the equation
So why not try it? First, use valid variable names, not greek letters for the variables. rho = 1.025; L = 130.2608788; B = 2...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
Solving the arising equation with preconditioned iteration method.
I'm not sure what you are talking about. BOTH PCG and GMRES are written in MATLAB itself. So the source code is provided to you....

mehr als 2 Jahre vor | 0

| akzeptiert

Mehr laden