Answered
one tricky math question about number of singular value decomposition of one matrix . About array signal processing
Time to learn about floating point arithmetic, and the fact that it has a limited precision. Any computations done on floating p...

9 years ago | 0

Answered
Updating inverse of a lower triangular matrix
NO. Computing the inverse of A, if it is lower triangular is a BAD idea. Solving the problem x = A\b is a forward substituti...

9 years ago | 2

| accepted

Answered
subscript indices must either be real positive integers or logicals. matlab ode15s
Is theta12 a function? A vector? Is it a scalar? MATLAB appears to think that theta12 is a variable, because of the error messag...

9 years ago | 1

| accepted

Answered
I have a question about checking if two integers have matching digits in the right area
There are many valid ways of doing the comparison. One that has not been mentioned is dec2base. Incase one of the digits coul...

9 years ago | 1

Answered
Can anyone tell me how does curve fitting models like polynomial fit,linear fit help in classification of some data ,That is using CFTOOL?Just curious in knowing..what are things or parameters we should be looking at ?
This is not really a MATLAB question, but it does show confusion about how to use a specific toolbox. Anyway, I think you are ap...

9 years ago | 0

Answered
How can I modify the FitnessFunction when doing optimization?
Easy enough. You could simply create the objective function inside a loops, as such... for r = 1:100 fun = @(x) r*...

9 years ago | 0

Answered
RMSE with near infrared data
That your data is near infrared is not really relevant. :) Anyway, I'll see if I can shed some light on the problem. I'll ma...

9 years ago | 0

| accepted

Answered
Regression accurate to 5% for 80% of the year
Um, you compute the predictions. Then look at the histogram of the predictions. Essentially, you compute an approximate PDF from...

9 years ago | 0

Answered
Is it normal for GA to struggle on simple linear problems?
A genetic algorithm is a stochastic solver. It has no understanding that a problem is easy to solve. That a problem is linear ha...

9 years ago | 4

| accepted

Answered
How to solving transcendental equation?
kz and ky are given, because they are direct functions of only constants. And fnm appears in only one place, where it can be ...

9 years ago | 2

| accepted

Answered
How to calculate the area enclosed by these 2 curves ?Image attached below....
Easy. 1. Convert the curves to cartesian coordinates, NOT polar coordinates. 2. Use polyarea. If you tried to use polya...

9 years ago | 0

| accepted

Answered
Hi, I am finding area enclosed by convex hull using delayunayt​riangulati​on,,,i have pasted the code...I just need someone to tell me..the area i got is right according to my code?
NO. You cannot compute a convex hull of your points when they are represented in polar coordinates!!!!! If you did, the result w...

9 years ago | 1

| accepted

Answered
Can I use minboundrect on polar plot ? I am trying to us it, but i am not getting a proper rectangle....Is it correct to use on polar plot?
No. You cannot apply minboundrect in polar coordinates. You CAN convert to cartesian coordinates, THEN apply minboundrect.

9 years ago | 0

| accepted

Answered
i am facing Warning: Cannot find explicit solution
I'm sorry, but this is simply not going to happen. Never. Mathematically impossible to solve this problem. Ok, at least unless y...

9 years ago | 0

Answered
Matlab code to traditional symbolic notation conversion
pretty does not do what you want? help pretty syms x y z w pretty(int((((x-z-0.5).^2 +(y-w).^2).^(-2)).*(1./(2.*pi...

9 years ago | 1

| accepted

Answered
fmincon has converged to an infeasible point
Fmincon CANNOT be used to solve integer problems. Fmincon requires a continuous, differentiable objective function. Therefore, i...

9 years ago | 0

Answered
fsolve not solving system of nonlinear equations
That mathematica was able to solve it is just a reflection that mathematica uses high precision. MATLAB works in double precisio...

9 years ago | 0

| accepted

Answered
How can I estimate pi by using a unit hexagon in Matlab?
I won't do your homework for you. So you need to think. I'll give you a few (huge) hints: First, is there some symmetry you c...

9 years ago | 0

Answered
How can I create a modified curve fitting function?
Yes. Of course it is possible to do this. What toolbox do you have available? It sounds like the curve fitting TB is what you ha...

9 years ago | 2

Answered
Regular time intervals of time series without interpolation
You cannot do so. You want to interpolate a set of points. But you refuse to use interpolation? Sorry, but that makes no sen...

9 years ago | 0

Answered
how can i put the following code into a nested FOR loops
Why would you want to use a for loop at all, when one line suffices for anything that you would loop over? prx = [X(:),Y(:)...

9 years ago | 0

| accepted

Answered
I'm trying to solve for the variable irr in the bottom line. I am lost at this point because I keep getting error messages. This should be simple but I'm lost.
Have you defined irr to be a symbolic variable? Somehow, I think not. So change your code to be syms irr p1=45000*((1...

9 years ago | 0

Answered
Diagonal of inverted matrix
Is that the right way to do it? Very possibly there is no good way. If you are getting warning messages, that generally means yo...

9 years ago | 1

| accepted

Answered
Does MATLAB have any toolboxes or commands for predicting the next number in a series?
There is no reason to suppose that the next INTEGER in that series will be easily predicted. Neural nets are not a magical tool ...

9 years ago | 1

Answered
Is there any algorithm to distribute points in n-dimensional domain by a specific density function?
People always ask questions like this without understanding that a normal density function is defined over the entire real line....

9 years ago | 0

Answered
I have a matrix [1 1 1 0; 0 1 1 0;1 1 0 1; 0 0 1 1]
A = [1 1 1 0; 0 1 1 0;1 1 0 1; 0 0 1 1]; B = reshape(A(1:end-1),3,5); B B = 1 0 1 1 0 ...

9 years ago | 0

| accepted

Answered
FMINCON returns result equal to initial input vector
We seem to answer this question over and over again. :) There are many possible reasons why fmincon stops looking. Check t...

9 years ago | 2

Answered
Is there any short method for upgradation of m-Script to newer version of MATLAB?
Nope. There is no automatic, magical way to ensure that some random old script is fully compatible. In general, they make every ...

9 years ago | 0

| accepted

Answered
Warning: Matrix is close to singular or badly scaled.
How would you go about it? If you call this function as it is supposed to be called, you will get this output: [sigma,x,...

9 years ago | 7

| accepted

Answered
I have downloaded herrorbar to create horizontal error bars but get an error?
Unless you edited the code and inserted some garbage characters, then saved it... What version of MATLAB do you have? What ve...

9 years ago | 0

Load more