Answered
What function (if any) can I use to simplify symbolic equation in terms of another variable?
I would just use subs. Without running your scripts, this will work: dH3 = subs(dH3,Cp,Cv + T*V*alpha/beta) Now the enti...

9 years ago | 0

Answered
How to detect noisy data / outliers?
Outliers are rare events, that do not follow the same distribution as the regular noise in your data. You can think of data with...

9 years ago | 1

| accepted

Answered
Real-time video processing
I have no idea what you want in terms of an example for a timer. I'd start by reading doc timer You will find examples t...

9 years ago | 0

Answered
Why Matlab forces a sign convention while calculating the PCA coefficients?
The eigenvectors computed are entirely arbitrary. You can arbitrarily change the sign and they will be as valid either way. Diff...

9 years ago | 0

Answered
Hi, I am working on Some code I could find the Function for Log but not for any Antilog option.
Of course there is no loginv, since raising something to a power is the inverse of the log function. Powers already exist in MAT...

9 years ago | 0

Answered
Is the description of mvnrnd a little bit misleading?
"covariance matrix SIGMA." "SIGMA is a D-by-D symmetric positive semi-definite matrix" "If the covariance matrix is diagon...

9 years ago | 0

Answered
second order differential equation are arranged in ring
Your problem is this is not a classic differential equation. It is a delay-difference equation, also known as a difference-diffe...

9 years ago | 0

Answered
How to solve multiple equation with multiple variable with an fmincon constraint
Solve is NOT a minimization tool. You say that you want to minimize a constraint, (M*theta1+N*theta2}. WRONG. You want to mi...

9 years ago | 0

Answered
How can I use Principal Component Analysis (PCA) for this problem?
Let me explain my comment, as to why this is a silly task to use PCA here. PCA is a tool that tries to reduce the dimensional...

9 years ago | 0

Answered
How can I optimize data with no equations
Sorry, but you cannot just optimize data. There is no magic that you can apply. You need to spend the time to develop a model th...

9 years ago | 0

| accepted

Answered
How to curve fit an x-y data to a unique advanced exponential function f(x) = a*exp(b*x+c*g(x)), where g(x) is a step function ?
You have only ONE data point below x==0. So estimation of the parameters will be difficult at best. If the model really has a...

9 years ago | 1

Submitted


The permanent of any matrix (square or not)
The permanent of any matrix, square or not

9 years ago | 67 downloads |

0.0 / 5

Answered
I am plotting x(i) = (1/3).^i but how can I account for index 0 since in matlab the indexing starts at 1
L = 10; ind = 0:(L-1); stem(ind,(1/3).^ind) WTP?

9 years ago | 0

| accepted

Answered
How to compare two matrices with different resolution?
help interp2

9 years ago | 0

Answered
How can I calculate permanent function from a non-quadratic matrix?
So what stops you from writing out the terms, and just summing them all up? If this truly is urgent, then there is a simple answ...

9 years ago | 0

Answered
Solve system of nonlinear equations without symbolic variables
Just create a function, then use fsolve from the optimization toolbox. There is no reason to use symbolic variables in that case...

9 years ago | 0

| accepted

Answered
Redo question: Calculating rate of change along contour
A function? No. Smooth it, using any of a number of tools. Then find an approximate derivative. Or use a Savitsky-Golay tool...

9 years ago | 0

Answered
mutlibojective optimization for trigonemtric functions
Optimizers are NOT symbolic tools. So no, you cannot get a symbolic solution. NO symbolic parameters are allowed in a numerical ...

9 years ago | 0

Answered
Lagrange interpolation in 2D?
That you can't find it is a good thing. Lagrange interpolation is a nice thing for ONE purpose only: to teach students some b...

9 years ago | 0

| accepted

Answered
Trouble fitting ode45
Fitting the solution of an ODE solver can be difficult, since the ODE solver is an adaptive method, with a tolerance on the resu...

9 years ago | 0

Answered
I want to find the point of intersection between the two functions cos(x) and sqrt(x/100), but 'solve' gives only one of them. What to do?
Solve did not find the point of intersection, since no analytical solution exists. Instead, it gave up, and passed it to vpasolv...

9 years ago | 0

Answered
How can i make mathworks examples run on my matlab version R2013a
You essentially need to upgrade your MATLAB release. You could, in theory, find each problem function, finding replacements for ...

9 years ago | 0

| accepted

Answered
Interpolating missing values in 3D LUT (3D Lookup Table)
I think I wrote over 400 pages of technical reports while at Kodak on this, just on how to build, use, populate, estimate, valid...

9 years ago | 0

| accepted

Answered
Inner matrix dimensions must agree.
NEVER ASSUME ANYTHING. Never. When you have a problem like this, test those assumptions. Verify your facts. Because the fact is,...

9 years ago | 0

Answered
I need to create a loop in which it skips data sets that have a better version of them. e.i if their is an M1 that has an M2 it only reads the M2
Oh come on. It looks as if you just got a big job dumped on you, and you are freaking out. So your solution is to ask multiple v...

9 years ago | 0

Answered
Upper and lower bounds of eigenvalues for a 2 by 2 matrix
A simple scheme to give bounds on the eigenvalues: https://en.wikipedia.org/wiki/Gershgorin_circle_theorem For a 2x2 matri...

9 years ago | 0

| accepted

Answered
Can I change an individual matrix element by a given value in one line?
a(1) = a(1) + 2;

9 years ago | 0

| accepted

Answered
Dimensions of matrices being concatenated are not consistent. why? :(
Time to read the manual. The gods of MATLAB put it there for a reason. 1. You don't need to predefine a variable as sym, unle...

9 years ago | 0

Answered
How to open indian_pines.mat
indian_pines.mat is a .mat file. You use load to read it in. Once you have read it in, there is NO reason to need to read it ...

9 years ago | 0

Answered
Undefined function 'conv2' for input arguments of type 'sym'.
But conv2 is not defined for symbolic input. It was not written for that purpose. Just wanting software to do what you want is r...

9 years ago | 1

| accepted

Load more