Réponse apportée
problem in curve fitting using summation of sine functions
I'll post this as a separate answer, so as to not get it lost in the comments, and since I will show you how to solve it as a tr...

presque 2 ans il y a | 0

Réponse apportée
problem in curve fitting using summation of sine functions
Ok. Thank you for the data. The plot does help a lot actually. At first glance, the plot of the fit itself looks quite reasonabl...

presque 2 ans il y a | 0

Réponse apportée
Why R square value is coming negative ?
Actually, not. R^2 can be negative for two potential reasons. If the R^2 was computed incorrectly. If the model is worse than...

presque 2 ans il y a | 0

Réponse apportée
ODE45 giving complex solution unexpectedly
This seems clear. The only way in your code you can generate complex numbers is by raising a negative number to a fractional pow...

presque 2 ans il y a | 2

Réponse apportée
optimization doesn't carry out using fgoalattain
Sigh. So many times this same question gets asked. :) Clearly not your fault of course, given the number of others who trip over...

presque 2 ans il y a | 1

Réponse apportée
What is the most cost effective way for an individual researcher to purchase fast compute for deep learning tasks?
No matter what, I would be looking towards a desktop machine. Then you get the advantage of adequate fans to keep those cores hu...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
some problem about the discrete of the first derivative operator
It is difficult to know, not without reading the article. Is the D matrix as shown just a typo that got by the proofreaders? Ve...

presque 2 ans il y a | 1

| A accepté

Réponse apportée
How to recover original raw signal from filtered results given filter coefficiencies?
Is it possible? NO. Sorry. Mathematics does not give you a trash can, where this operation can be undone. Information content wa...

presque 2 ans il y a | 0

Réponse apportée
Inverse of a symmetric matrix consisting of submatrices is desired.
This makes little sense as you write it, AND it will be essentially impossible to perform in MATLAB using symbolic tools. syms C...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
Solving equations using Newton-Raphson method for 7 equations with 7 variables
As @Torsten said, this is a LINEAR system of equations. Nothing nonlinear needed. In fact, you can use many tools in MATLAB to t...

presque 2 ans il y a | 1

Réponse apportée
Need help with a system non-linear equation with three variables
Simple. Use lsqnonlin. There will almsot certainly be no exact solution. All you can do is find a parameter set that minimizes ...

presque 2 ans il y a | 1

Réponse apportée
read text file to get complex number
Read the files in as two vectors. There are many tools that can read a text file. Then add them, multiplying the second by sqrt...

presque 2 ans il y a | 0

Réponse apportée
GA does not solve problems with integer and equality constraints
The coupling of equality constraints with integer constraints makes a significant problem. For example, suppose I wanted to solv...

presque 2 ans il y a | 0

Réponse apportée
problem with low infinite number
They only look the same, to 4 decimal places. format short x = 1.23456789; y = 1.23456987; [x,y] They certainly look the s...

presque 2 ans il y a | 0

Réponse apportée
How to display this whole data simultaneously?
What can you do? This will mainly be in your MATLAB settings, first, under the command window tab. Here, you can control how man...

presque 2 ans il y a | 0

Réponse apportée
Fittype issue: unrealistic results and problems with upper and lower bounds
Star pointed much out to you, but I want to say a few extra things, and the fit he got was relative crap due to the terrible cho...

presque 2 ans il y a | 2

Réponse apportée
integration in matlab plot
You CANNOT use trapz. Despite the fact that another poster has done so, that does not yield a result up to 4.7. If you have no d...

presque 2 ans il y a | 3

Réponse apportée
2023b Compatibility with 2019b code?
Is there a limit? No limit is ever published. The first is a warning, NOT an error message. It is intended to tell you there wil...

presque 2 ans il y a | 1

Réponse apportée
Find Area under the curve as a non negative
You don't show your data, so I need to make something up, and I'm guessing what your problem is, because your question is confus...

presque 2 ans il y a | 0

Réponse apportée
Problem with non-Zero Matrix Appearing Zero in Command Window and in Imagesc
They are still (non-zero) numbers. Just too small to display in the chosen format. If you close your eyes, the world does not di...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
str2double with long string seems to give wrong answer
Do you appreciate that str2double will convert the number to a DOUBLE PRECISION number? Of course it must, as why would it conve...

presque 2 ans il y a | 3

Réponse apportée
How to use for and if statements together?
Can you compute the overall mean? Surely you know how to use the function mean. If not, can you compute the overall mean? How wo...

presque 2 ans il y a | 0

Réponse apportée
Why Matlab is always giving the same error while putting comment to reply in quesiton?
MATLAB is not doing anything of the sort. In fact, that is not a response from MATLAB at all, but from the web site, from MATLAB...

presque 2 ans il y a | 0

Réponse apportée
Solve a system of linear equations
I am confused. You say that you know how to solve the problem using lsqnonneg. So just use it! n = 30; Y = rand(30,n); S = r...

presque 2 ans il y a | 0

Réponse apportée
generating every possible trajectory in a workspace
Um, no. There are infinitely many possible trajectories, if we consider the variables as continuous. But even if all variables w...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
How do I request participation or sponsorship from MathWorks on behalf of my social organization at my University?
Answers is not the correct place to ask your question. Instead, I would contact support directly. Possibly through this link: h...

presque 2 ans il y a | 0

Réponse apportée
Solving tridiagonal Matlab matrix using Gauss siedel ( can't use other method )
Why in the name of god and little green apples are you using Gauss-Seidel for this? (I can only assume this is a homework assign...

presque 2 ans il y a | 1

| A accepté

Réponse apportée
How do I change my code so that the numbers 1112, 2111, 1211 or 1121 work in this code to reach Kaprekar's Constant?
Numbers in MATLAB do not have leading zeros. Sorry. That is not a valid number, just a string of numeric digits. If you need le...

presque 2 ans il y a | 1

| A accepté

Réponse apportée
What Does the Symbolic Math Toolbox Mean by 0 < s When s is Complex?
Just test it yourself. :) Admittedly, it may not have been obvious to perform this test. But we can use it to learn how MATLAB s...

presque 2 ans il y a | 0

| A accepté

Charger plus