Answered
Different eigenvectors calculated from Matlab and Python
Look at it this way. THERE IS NO ISSUE. While you say that R and Python produce the same result, does it matter? (It possibly me...

28 días ago | 2

Answered
5 equations in 5 unknowns with fsolve
Do you expect your function to do anything? LOOK AT YOUR CODE CAREFULLY. Read the code you wrote yourself. Too often, we forget ...

29 días ago | 0

Answered
Why is the cubic Spline Interpolation wiggly in flat areas?
Should not the cubic spline be able to be ABSOLUTELY flat in some areas? NO. Sorry, but that will not be the case. A cubic splin...

29 días ago | 2

| accepted

Answered
Complex number operation does not make sense
Welcome to the wonderful wacky world of floating point arithmetic. imag(-0.98*exp(-1i*1.1)*exp(1i*1.1)) When MATLAB reports a ...

30 días ago | 2

Answered
how can i solve this problem?
You have 20 nonlinear equations in 20 unknowns. Do you seriously expect a symbolic solution? And of course, there will very poss...

30 días ago | 2

Answered
how can i make if condation
Numbers no not have a character component. They are just numbers. But you can always call East a POSITIVE direction. West is the...

alrededor de 1 mes ago | 0

Answered
Packing identical cylinders into a rectangular prism
Sorry, but no, there is no simple mathematical formula to perform maximal circle packing of a known radius circle into a given d...

alrededor de 1 mes ago | 0

Answered
how to find unknown within equation having unknown
R and L are known, with X being an unknown. syms X L R Xsol = solve(R/X==( 0.8*log(L*X/10e-06)+33),X) The script w there is t...

alrededor de 1 mes ago | 0

Answered
How I can Convert Decimal number into binary number then to matrix binary number ?
Easy peasey. B = dec2bin(123125) B = [repmat('0',rem(length(B),2)),B] reshape(B,2,[])'

alrededor de 1 mes ago | 1

| accepted

Answered
Inconsistency in behavior of SVD
F = zeros(1000,1800); F(:,1:600) = 37; F(:,601:1200) = 255; F(:,1201:end) = 102; %A tricolor flag, eg France or Italy [U,S,V] ...

alrededor de 1 mes ago | 1

Answered
detecting strawberries that might deteriorate soon through image analysis
This is simply not a question about MATLAB at all, but image processing and modeling. Until you have an idea what the algorithm ...

alrededor de 1 mes ago | 0

Answered
Non-Linear Regression of 4 Independent Variables and 1 Dependent Variable
If I had a dime for every person who wanted this, I'd have at least a few rolls of dimes. :) Seriously, there is no such (good)...

alrededor de 1 mes ago | 0

Answered
How do you perform generic value in MATLAB?
If you do not know those parameters, then you don't know them. What "simulation" would you run? What meaning does it have? At b...

alrededor de 1 mes ago | 0

Answered
how to solve a system of integro-differential equations?
Last time I checked, int(exp(-t),[-inf,T]) is both trivial to integrate, and yet essentially infinite, for ANY finite value of T...

alrededor de 1 mes ago | 1

Answered
Sketch the analytical solution, using the formula below. HELP
I might guess that you actually meant to MULTIPLY t with the value (n-1) in this exprssion: x(n+1)=x(n-1)*cos(w*t(n-1))+(v0/w)*...

alrededor de 1 mes ago | 0

| accepted

Answered
Cholesky factorization: How to change code to produce A = L' * D * L instead of A = L * D * L' .
The trivial solution is... You want to compute a U*D*U' factorization, where U is UPPER triangular. MATLAB already offers LDL, ...

alrededor de 1 mes ago | 0

Answered
Write a MATLAB script (maksimin) that calculates the maximum and minimum values in an input vector. You should consider that the input vector can have any length
Do you know how to work with character strings, how to build them from components? You should. TRY IT! For example, A = 'Fred';...

alrededor de 1 mes ago | 0

| accepted

Answered
Why does matrix inversion cause extremely large values to appear in the inverted matrix?
As others have said, a singular stiffness matrix typically means one of several things in a Finite Element problem. It might b...

alrededor de 1 mes ago | 0

Answered
plotting graph with multiple uknown variables
Sorry. If you have no idea what all of those parameters are, then there is nothing you can plot. A plot requires NUMBERS. You ha...

alrededor de 1 mes ago | 0

Answered
Matlab 2012b om m1
This is not a problem of Java version, although it might be a factor, if it were not that MATLAB is not compiled to run on that ...

alrededor de 1 mes ago | 0

Answered
finding the points which results in zero in simple formula
You have the phi and theta. Now you want to know, for which values of phi and theta, you will have y==0, exactly? DON'T USE A L...

alrededor de 1 mes ago | 0

| accepted

Answered
Can't find sat() function
which sat -all sat.m is not found in any MathWorks provided toolbox. You may need to ask your instructor, since they may have ...

alrededor de 1 mes ago | 0

Answered
How to code this equation to find y?
Is the result that MATLAB provided a valid result? syms y(x) ode = diff(y,x,2)+2*diff(y,x)+5*y == 1+x*exp(x) ySol(x) = dsolv...

alrededor de 1 mes ago | 0

Answered
Why is sec(theta) different than sqrt(1+tan(theta).^2) in MATLAB?
First, what you have written is NOT an identity. The identity is sec(theta)^2 = 1 + tan(theta)^2 There IS a difference! Y...

alrededor de 1 mes ago | 1

Answered
Why does MATLAB give an error with this instruction? x(0.14*100)=5;
Is there a bug in MATLAB? Sigh. If I had a nickel for every time someone has asked that question, I would be wealthy. (It does n...

alrededor de 1 mes ago | 2

| accepted

Answered
Linprog gives a solution but one constraint is not satisfied (no notification)
Not possible to know, since you don't actually show us the code you wrote. You may have done something wrong. Or it may just be...

alrededor de 1 mes ago | 1

Answered
make a data plot
Easier than you think. First, write a little function that will plot a bar of fixed height, between two points on the x axis. I...

alrededor de 1 mes ago | 0

| accepted

Answered
Multiplication of large matrix with its transpose
Best is to never create it at all. Instead, use mathematics to work with it. And that depends on what you will do with this matr...

alrededor de 1 mes ago | 1

| accepted

Answered
Forcing positive values when solving system of linear equations
Sorry. PINV does not allow you to constrain the sign of your estimates. You can use LSQNONNEG, which does allow you to do that,...

alrededor de 1 mes ago | 1

| accepted

Answered
How can I convert the shape of one class to another using Matlab?
All you have is a picture, not a shape. Until you express those boundaries as a shape of some sort, you cannot do anything. Sin...

alrededor de 1 mes ago | 0

Load more