Answered
How to split a irregular polgon into different parts having specific area for each part?
There is no magical, trivial solution, based on a single call to any function. Why would someone write that anyway? But it woul...

2 years ago | 0

Answered
Solving a system of equations using Symbolic Matlab
You CANNOT use fsolve, though you said you tried it. This is not a numerical problem, but a symbolic one. t is an unknown there....

2 years ago | 1

| accepted

Answered
very similar dataset and yet 'TRAPZ' function gives very different answers
"Very" different? "VERY"? Lets be serious. xy1 = [1.43155281315397 0.00255865851191916 1.35675838019809 0.0145131910703132 1....

2 years ago | 1

| accepted

Answered
How would I perform a weighted least-squares regression analysis with x and y error?
Let me see what I can explain. (I think some have missed the point of your question.) These problems are always simpler than yo...

2 years ago | 1

Answered
why does conv2 increase z height?
Easier to just see what is happening with a 1-d problem. First, some data. t = linspace(0,10,200); y0 = sin(t); % about as sim...

2 years ago | 0

Answered
please complete the time series code
It looks complete to me. What do we see? We see uncommented, virtually undocumented code, that does something we are not told ab...

2 years ago | 0

Answered
Plotting variables from an implicit function
fimplicit plots the lines where your function is ZERO in that region. Is it ever zero? Probably not. dmin=0.2; fs=250e3; Vo=40;...

2 years ago | 0

| accepted

Answered
Apparent distance conservation in Matlab plot window while rotating 3D objects
I'm confused. If you plot two things in 3-d, you change the view using the function view. But OF COURSE things change when you ...

3 years ago | 0

Answered
Generate random integers that sums to a specific number within a specific range
I had to put in my 2 cents here. I saw @Matt J and @Bruno Luong both claim uniformity, or at least close to approximate uniformi...

3 years ago | 1

Answered
Is it possible to restore all the variables from the previous session?
Sure. Just don't exit MATLAB. Or, save your results periodically. Why would you not do that on a long run that takes a week of r...

3 years ago | 0

Answered
find the position of a value in a "Double-precision array"
-10.1333 the EXACT VALUE? NO. All you see is that number written with 4 digits after the decimal point. You need to learn to use...

3 years ago | 0

Answered
Caluclating an integral over a rectangle, with a singularity point.
As is often the case, this is FAR simpler than you think. And, yeah, sometimes things are far more difficult. They never seem to...

3 years ago | 0

Answered
Fill the big gaps in data series
The big probem is, your series has little information content in it. :( And of course, you don't give us any data. So I'll make ...

3 years ago | 4

| accepted

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

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

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

3 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)

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

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

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

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

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

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

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

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

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

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

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

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

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

3 years ago | 0

Load more