Respondida
Understanding higher dimension in MATLAB
Visualize a vector. For example, the vector V = 1:5 So the numbers 1 through 5, stored in sequence in memory. Got it? rand wil...

alrededor de 2 años hace | 0

| aceptada

Respondida
I am using the symbolic tool box and have generated a number that has over 25,000 digits and would like to store that number in it's entirety onto a disk file.
Is that really an extremely large number? :) Everything is relative. X = sym(17)^20000; Xc = char(X) numel(Xc) Xc is just a ...

alrededor de 2 años hace | 3

Respondida
ANFIS code in matlab
No problem. It appears the anfis function is written in MATLAB itself, and not compiled. If it was compiled code, then no, they ...

alrededor de 2 años hace | 0

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

alrededor de 2 años hace | 0

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

alrededor de 2 años hace | 1

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

alrededor de 2 años hace | 0

| aceptada

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

alrededor de 2 años hace | 0

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

alrededor de 2 años hace | 0

| aceptada

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

alrededor de 2 años hace | 0

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

alrededor de 2 años hace | 0

| aceptada

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

alrededor de 2 años hace | 0

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

alrededor de 2 años hace | 2

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

alrededor de 2 años hace | 3

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

alrededor de 2 años hace | 0

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

alrededor de 2 años hace | 3

| aceptada

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

alrededor de 2 años hace | 3

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

alrededor de 2 años hace | 1

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

alrededor de 2 años hace | 0

| aceptada

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

alrededor de 2 años hace | 1

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

alrededor de 2 años hace | 1

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

alrededor de 2 años hace | 0

| aceptada

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

alrededor de 2 años hace | 2

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

alrededor de 2 años hace | 1

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

alrededor de 2 años hace | 0

| aceptada

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

alrededor de 2 años hace | 2

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

alrededor de 2 años hace | 0

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

alrededor de 2 años hace | 1

| aceptada

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

alrededor de 2 años hace | 0

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

alrededor de 2 años hace | 1

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

alrededor de 2 años hace | 2

Cargar más