Answered
1*1835008=1*786432(1024*256*2(1:1024,:,1:2)),[1:256,1*262144)] is run in Matlab or not if not then tell me reason ?
The reason is simple. The = operator is an assignment operator. It assigns whatever is on the right side to the variable on the ...

2 years ago | 0

Answered
Discrepancy between local maxima of cfit and global minima in second derivative
Many issues here. First, estimation of a derivative from noisy data is generally a bad idea, because differentiation is a noise...

2 years ago | 1

| accepted

Answered
levenberg-marquardt with linear constraints
I'm sorry, but nobody can tell you IF there are any plans to introduce some behavior in a future release, until it is released. ...

2 years ago | 0

Answered
More efficient alternative to find()
Why does max not do what you want? There are TWO returns from max. X = randi(100,[1,10]) [xmax,maxloc] = max(X)

2 years ago | 0

| accepted

Answered
How to find the linear slope of a set of data points on a graph
There is NO linear section. It is a curve. Viewed over a short enough segment, any curve will appear linear. T=[0 0.250000...

2 years ago | 0

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

2 years ago | 1

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 1

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

2 years ago | 2

| accepted

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

2 years ago | 1

| accepted

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 1

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

2 years ago | 0

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

2 years ago | 1

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

2 years ago | 1

| accepted

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

2 years ago | 1

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

2 years ago | 1

| accepted

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

2 years ago | 1

| accepted

Answered
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; ...

2 years ago | 0

Load more