Respondida
How to obtain a function through 3d points
Obtaining the general "function" of some arbitrary set of points as a curve is essentially impossible to know, as there are infi...

casi 3 años hace | 1

Respondida
Calculating the parameter of a 3d curve consituted of a 100 points
Um, I'm not sure the question is about estimating the perimeter of the curve, or a parameter, perhaps the radius, that together ...

casi 3 años hace | 0

Respondida
STATE OBSERVATION OF AN INDUCTION MOTOR USING EXTENDED KALMAN FILTER
(Yes, I see this question is 3 years old now, so my answer is too late for @Emmanuel Bassoah Gyamfi to gain any help, but others...

casi 3 años hace | 0

Respondida
Properties of exponentials - symbolic algebra
syms x y V = exp(x)*exp(y) simplify(V) So simplify does work. On more complicated problems though, what seems simple to me ma...

casi 3 años hace | 1

Respondida
trying to find a linear combination of matrixes in order to minimize the error between the linear combination and a target matrix
Trivially easy. What you need to do it to convert the problem to a set of VECTORS. Unroll the matrices into vectors. Then make o...

casi 3 años hace | 2

| aceptada

Respondida
If I type in logL, matlab does not recognize it. Anyone who knows why?
Because it is not a MATLAB function? which logL -all Maybe you are thinking of some other language, where a function with that...

casi 3 años hace | 0

Respondida
how do i find the derivative dT/dx at certain coordinates?
Use a tool to interpolate the data. Differentiate the interpolant. Evaluate the derivative at that point. For example... x =...

casi 3 años hace | 0

Respondida
Why not getting same constant value after converting to single from double in MATLAB 2016b simulink
Welcome to the wonderful wacky world of floating point arithmatic. I think you don't understand floating point arithmetic. 0.1 ...

casi 3 años hace | 0

Respondida
Generate a matrix with alternative positive and negative values with ones
Learn to use various tools in MATLAB. In this case, mod will help you. Forexample: n = 4; mod(1:n,2) Does that get you close ...

casi 3 años hace | 0

| aceptada

Respondida
How can I fit my data to an inverse tangent function?
x = [0.7 0.8 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 2.1 2.2 2.3 2.4,2.6]; y = [10 11 15 15 15 17 20 25 34 47 75 100 140 155 16...

casi 3 años hace | 0

Respondida
Are differences in results too large to be round off error?
Is it possible? Of course it is. Perhaps you have some random component in there that you do not realize is random. In fact, tha...

casi 3 años hace | 0

| aceptada

Respondida
How to fit an equation (catenary equation in 2D) to a 3D dataset (experimental data of a catenary curve in 3D) ?
How is this a 3-d probem? The curve will lie in a plane. So it is just a 2-d problem. That you have measurements in x,y,z is irr...

casi 3 años hace | 0

Respondida
How to use the weighted least square method for accurate calculation of parameters?
How many times will you ask this question? Please stop reposting it. load X_actual load A load B whos A = A_primary_A; B =...

casi 3 años hace | 0

Respondida
Change condition 'A=253' into 'A(A=253)=0' with multiple values (for example: A=70 and A=253)
You CAN use an and operator in there. That is fine if you have 2 or maybe even 3 cases. But one day when you have 27 possibiliti...

casi 3 años hace | 0

| aceptada

Respondida
How to find the closest value pair in a matrix?
Assuming that you have a much larger problem, and that you have multiple points, to test, knnsearch is the correct tool. A = [0...

casi 3 años hace | 1

| aceptada

Respondida
get x knowing f(x)
Is there ALWAYS a simple solution? NO! SOMETIMES, there is. But for almost all problems you might write down, there is no algebr...

casi 3 años hace | 0

Respondida
Raising a negative to a non-integer exponential
What do you expect? Do you understand there is no real answer to that fractional power? For example, what is (-2)^0.5 Yes, a...

casi 3 años hace | 0

Respondida
How do I choose the initial values for non-linear curve/function fitting?
Yes, there is an easy way to do it automatically, but its a SECRET! They would have built it into the code, but it is such a big...

casi 3 años hace | 1

Respondida
What is the best error metric for complex numbers in matlab?
First, why do you think this is inadequate? What don't you like about it? Does it satisfy some basic requirements of a simple n...

casi 3 años hace | 0

Respondida
How to run the same script but for different datafiles
Don't write scripts. Learn to write FUNCTIONS instead. Your function will take, as input, the NAME of the data file it wants t...

casi 3 años hace | 1

Respondida
How to use fminbnd but with multiple variables
You CANNOT use fminbnd with vectors. Period. A vector of numbers is not a function. Often people think of a vector as a function...

casi 3 años hace | 1

| aceptada

Respondida
Help creating an array with uniformly distributed random numbers (row-wise) comprised between 0 and 1, with each column having a sum of 1
This is a mistake I see made so frequently, that is, a misunderstanding of what it means for a sample to be uniformly distribute...

casi 3 años hace | 1

Respondida
Writing a Science Fiction Novel and want to ensure my math and science within the novel remain accurate, respectful, and authentic.
As a response to the question asked, I think possibly you are going down the wrong path, because first, I see no reason why you ...

casi 3 años hace | 1

| aceptada

Respondida
Can I use the Matlab function called "dice" to compare two histograms (or discrete probability distributions)?
No. Use of the dice function to compare hisograms would be a complete misuse of the tool. Instead, you might better use tools fr...

casi 3 años hace | 1

| aceptada

Respondida
Iterative Process to find a variable in which two equations are equal and opposite
h is the unknown. The problem becomes simple, but even so, there are some serious issues you need to understand. Eo=1; Uo=1; ...

casi 3 años hace | 0

Respondida
Add value x to negaive numbers and subtract value x from positiv numbers in same double
Trivial. Though you do not say what happens to zero. V = [5 4 3 2 1 -1 -2 -3 -4 -5]; x = 0.5; V - x*sign(V) As I said, It ...

casi 3 años hace | 0

| aceptada

Respondida
source code of multistart in global optimization toolbox
No problem. Just apply for a job at The MathWorks. Then get a job (there, and probably in the correct part of their organization...

casi 3 años hace | 0

Respondida
How can I plot the displacement of a pipe so that the disp=0 starts from the perimeter of a pipe. I have a picture
You apparently have a displacement, so a radial change in the pipe, as a function of angle. That is, if the displacement is posi...

casi 3 años hace | 0

Respondida
How do I fix negative values in a function to zero ?
Have something like this be the last thing you do in the function. x = max(x,0); Or, x(x<0) = 0;

casi 3 años hace | 0

| aceptada

Respondida
Is it possible to do a collision analysis of a mass-spring system in Matlab?
Is it possible? Of course. First, learn MATLAB. Start with the Onramp tutorials. At that point, the path you take would depend...

casi 3 años hace | 1

Cargar más