Extrapolating intersection points (signal processing/curve fitting)

18 Tage ago | 0

How to generate below matrix
Lets be serious here. You want to learn to create a general matrix, with elements in various places, that may, or may not, be wh...

18 Tage ago | 0

| accepted

how can i show that this equation has at least one solution with the given itnerval
We should not be doing your homework. But since Star has already answered your question, let me see if I can give you an idea. ...

19 Tage ago | 1

| accepted

fmincon with nonlinear equality constraints
This is barely an optimization problem at all. Many of your nonlinear constraints are just a kludge, a way to use a nonlinear e...

19 Tage ago | 1

System implementation for loop
Don't create a list of 84 distinct numbered variables. This is a bad idea, terribly poor programming style. It willl create bugg...

19 Tage ago | 0

| accepted

Multiplication of 2 matrix different
You should proably read the getting started tutorials, as this is a pretty basic question. In your early math courses, where t...

19 Tage ago | 0

Line search algorithm: nonlinear least squares method for fitting experimental data to a model
A bad idea: to write your own code to implement a numerical method, because you cannot make professionally written code to do th...

19 Tage ago | 0

Generate N random uniformly distributed points in a specific area
+1 to ytzhak goussha for the correct solution of course. A rejection method is really the logical way to solve it. What I'll poi...

20 Tage ago | 0

Matlab String (1000) conversion into (1 0 0 0)
Is x a character vector, or a string vector? If char, do this: x = '1000'; y = x - '0'; If a string, you could simply convert...

20 Tage ago | 0

| accepted

My plot is in radians. How can I change it to multiples of pi. Also, I need to plot the standard deviation as well. Thank you.
You want to know how many multiples of pi? So you would divide by pi.

20 Tage ago | 0

Trying to integrate sinx using the integrate function but when I plot the integral, instead of plotting from -1 to 1 it plots from 0 to 2. Does anyone know why this happens?
Actually, the integral of sin(x) is NOT -cos(x). This is a mistake that people frequently make. The integral is -cos(x), PLUS a ...

21 Tage ago | 1

| accepted

Solve exponential and trig function using roots?
Simple answer - No. Roots is designed to solve only one function, polynomial root finding. It does that well. You cannot make co...

21 Tage ago | 1

Solve an overdetermined problem with lsqlin
lsqlin is not written to allow multiple right hand side vectors. But each column of d is just a separate, distinct, independent ...

21 Tage ago | 0

| accepted

How can I increase the numerical precision of my calculations?
NO. MATLAB does NOT output this: 1/1.0001 = 0.999900009999000099990000999900009999000099990000999900009999000099990000999900009...

22 Tage ago | 0

Is it possible to creare a matrix of functions?
Do you want to create function handles? For example, fmat = {@(x) sin(x), @(x) cos(x), @(x) exp(x), @(x) x^2 + 1}; fmat{1}(...

23 Tage ago | 3

How To Remove Repeating Pattern From Vector
x(find(diff(x) == 0) + 1) = []; That just drops out the consecutive reps, changing x. If you want to create a new vector, you ...

23 Tage ago | 0

| accepted

How to find the normal to a hemisphere surface
Think about what the normal vector means. It points straight out from the hemisphere. What other known point is on the same line...

24 Tage ago | 1

| accepted

how to generate random points located on the surface of a hemisphere with its center at (2, 1, 3) and a radius of 6?
Actually, there are easier ways than those proposed, with no loops required. The trick is easy too, basd on the symmetry of rand...

24 Tage ago | 1

How to generate random matrices that are rank-deﬁcient by generating their SVD ﬁrst?
You do it by understanding what a rank deficient matrix is, and what the svd means. The svd of a matrix is a decomposition of th...

24 Tage ago | 1

| accepted

Gamfit function not working
Do you seriously expect to recover the exact values of those parameters? With only 100 samples, the CI are pretty wide. [p,ci] ...

25 Tage ago | 0

Spline Interpolation with derivative condition for knots
Technically, this is impossible to accompish, at least in terms of a cubic spline. A cubic spline is twice continuously differ...

25 Tage ago | 0

| accepted

how to generate random numbers with constraints?
This is not simple, if you want to find a truly uniform set. In 24 dimensions, things get fairly complicated. And the domain the...

25 Tage ago | 2

| accepted

Trying to minimise a function subject to nonlinear constraints
Simple mistake(s) here. You have TWO equality constraints. But your constraint function is written to have ONE equality constrai...

25 Tage ago | 1

| accepted

choose a number from a matrix based on probability parameter
I think perhaps you do not understand probability. Imagine that you have a "fair" coin. Flip it once, and you expect to see it c...

26 Tage ago | 2

Finding intersection of 2 parabolic curve fits with different y-axes
Um, trivial, sort of? You want to find the intersection of these two polynomial curves as plotted? They are quadratics, for g...

26 Tage ago | 1

optimization code with pso
You can't optimize two things at once, unless they both happen to be optimal at the same location. However, you can try to optim...

26 Tage ago | 0

| accepted

Curve fitting tool generating different results with same data
Has nobody answered this question? The common reason why a method produces different results on a repeated start is there was a ...

26 Tage ago | 1

Undefined function or method 'unit8'
Perhaps the problem is with your typing or your spelling. ;-) While unit8 does not exist, uint8 does. MATLAB can be so picky.

27 Tage ago | 3

| accepted