Answered
Volume of a Curve Revolved about y-axis
Solving for b numerically as you want to do is a really bad way to write this. If b enters in in a way that is more complex, the...

12 Tage ago | 0

Answered
Very simple tolerance solution
If your goal is to find the first point where the tempterature exceeds 300, then write code targeted at that goal. So... What i...

13 Tage ago | 0

| accepted

Answered
How to calculate the Product between Gaussian and exponential distribution in Matlab?
Let me answer this, because I think you are asking the wrong question. Assume that you have two random variables, one normal (c...

13 Tage ago | 1

| accepted

Answered
Extrapolating from matrix data
Sigh. Hint: help interp2 help griddedInterpolant Note that both allow you to extrapolate. I'm not sure what "getting the xyz...

14 Tage ago | 0

Answered
Can someone help me to iterate the equation
Algebra? (1/M)*(2/2.4*0.4/2.4*M^2)^(2.4/0.8)-0.3/0.2 == 0 --> (1/M)*(1/7.2*M^2)^3 - 3/2 == 0 M^5 * (1/7.2)^3 == 3/2 Wh...

15 Tage ago | 1

Answered
Help in curve fitting tool box
Without even immediately addressing the error you got, first, it is a really bad idea trying to fit a 3 parameter model, using o...

15 Tage ago | 1

Answered
Cant get integral from Lagrange interpolation polynom
Ok. As I said, this is a misuse of recursively built function handles. It is easy enough to build a Lagrange polynomial. First, ...

16 Tage ago | 0

| accepted

Answered
Why does my 3d randomwalk trend to the pole?
Confusing as hell. Sorry, but it is. The problem is, you state this is a 3-d random walk, apparently subject to constraints that...

16 Tage ago | 1

Answered
Fitting an equation to a non-linear data set
This is an example of a case where you have no reason to use any specific nonlinear model. Your hope that an ODE might be approp...

16 Tage ago | 0

Answered
How do I get a vector of Simpson's rule approximations with different step sizes?
Write a function that will do simpson's rule for a given number of nodes on a function on some interval. function simpint = mys...

17 Tage ago | 0

| accepted

Answered
How I can make 64*64*256 double matrices as .mat file?
Of course. X = rand(64,64,256); save Xmat X clear load Xmat whos X Name Size Bytes Class A...

17 Tage ago | 0

Answered
How can I make this code run faster with a sparse matrix
How can I say this? You are using sparse in the very worst way possible. Well, you are. Not only that, but your code will dump ...

17 Tage ago | 1

| accepted

Answered
Curve fitting with constraints
You cannot use the curve fitting toolbox to fit a model that has constraints on it like the ones you have. At least not directly...

18 Tage ago | 0

Answered
finite difference method for second order ode
Hmm. A zombie question, far too late for my answer to help the OP. But at least maybe I can help the secondary poster @Furkan Ce...

18 Tage ago | 1

Answered
griddedInterpolant for 3D matrix using grid vectors; not enough sample points?
Since we do not have your actual inputs, only you can know what you did.For exampel, IF you really have what you claim to have, ...

19 Tage ago | 0

| accepted

Answered
fmincon with sqp algorithm but without inclduing a gradient
SQP does use the gradient, but it is not necessary to provide one. When none are provided, then finite differences often provide...

19 Tage ago | 1

| accepted

Answered
Why does not Matlab use the full capacity of my computer while training a neural network?
I do not think the issue is single threading. Not at all. You surely don't keep all 25000 images in memory at once. Instead, yo...

19 Tage ago | 1

| accepted

Answered
how to get the inverse of a symmetric matrix and ensure accurancy
You want to compute the inverse of a symmetric matrix F. So let me first check your claim... norm(F,inf) ans = 9.7249e-06 ...

20 Tage ago | 1

Answered
linprog cannot find solution
I'll answer this a different way than did Walter, using different tools to answer the question at hand. You have a linear syste...

20 Tage ago | 1

Answered
How to do curve fitting on a data set with errors associated to each data point (y ± Δ y)
Since you have explicit bounds on y +/- deltay, you cannot just use simple weights. As well, you cannot use the curve fitting to...

21 Tage ago | 0

Answered
Should I use PCA to order the data points in order to find the mode of the data points?
Let me try to explain a bit, although, I think you wouldbe best servd by doing some reading online, or atextbook about PCA. I th...

21 Tage ago | 0

Answered
how separate the first one (Xp) from (Xn).?
I have no idea why you are trying to do this using a vector. Far better would be to store your variables in a struct or a cell a...

21 Tage ago | 0

| accepted

Answered
Normalizing a sparse matrix so that rows sum to 1
WTP? M = sprand(10000,10000,.00001); mean(sum(M,2)) ans = (1,1) 0.050375 So M is large, sparse, and its rows sum ...

21 Tage ago | 0

| accepted

Answered
Does Mac Mojave work with matlab R2013 ?
Not even remotely close. https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/SystemRequireme...

21 Tage ago | 0

Answered
Solving non linear equations using fsolve
Using the symbolic toolbox is often a mistake that people do, just because they think because the value of some parameters is no...

21 Tage ago | 1

| accepted

Answered
2-dimensional polynomial interpolation
No. You simply do NOT want to do this. It is a terribly bad idea. Even 1-dimensional interpolation using any high degree polyno...

22 Tage ago | 0

Answered
Trying to find non-zero solution.
Which solution do you wish to find? F = matlabFunction(det(X)); fplot(F,[0 .1]) It appears there might be 2 or 3 solutions....

22 Tage ago | 0

| accepted

Answered
How can we generate an N-dimensional unitary column vector?
Confusing. Usually that means you are also confused about what you really want. x = rand(4,1) +i*rand(4,1); x = x/norm(x) x =...

22 Tage ago | 0

Answered
Help with probability density functions
This is not a question about MATLAB. But you have done something. You do not have a PDF. You have an approximation to a PDF, s...

22 Tage ago | 0

Answered
How to show a equation?
X = sym('X',[1,3]); coeff = rand(1,3); vpa(sum(X.*coeff),5) ans = 0.022414*X1 + 0.053832*X2 + 0.14087*X3

23 Tage ago | 0

| accepted

Load more