Réponse apportée
How can I subtract elements in an array from the element before it.
help diff

presque 2 ans il y a | 1

| A accepté

Réponse apportée
How to write in Matlab a matrix whose coefficients depend on a real alpha parameter
Many ways. It seems unclear exactly what is your goal. And what are x and y? Are they just a list of numbers? Or a sequence as l...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
how to build a magic matrix manually of even n*n matrix?
@the cyclist is correct, that this is purely an algorithm question. But you did write code. Anyway, I'd start here, if I were y...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
How do I plot the cross sectional area and centroid of an I-Beam using pgon ?
The funny thing is, your code was indeed essentially correct. You just started out wrongly. x = [ 0 0 1 1 2 2 3 3 4 4...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
I got Inf when calculating 13959^475, how can I solve this problem?
Yes, you can use syms. However, you do NOT want to compute a huge power using syms directly, and THEN compute a modulus. Just co...

presque 2 ans il y a | 0

Réponse apportée
Error With Least Squares Approximation
There are two serious issues in what you are doing, making this apprach, sadly, truly numerical nonsense. You think you did some...

presque 2 ans il y a | 0

Réponse apportée
I unable to get trial version. Can you help?
No. We cannot help you. We are not your local customer support representatives! Answers is just a volunteer forum. We have no ...

presque 2 ans il y a | 0

Réponse apportée
Initial Conditions for Newton Raphson Method for 9 equations 9 unknowns problem set
Not every system of equations you will write down has a solution. Starting from a random position does not insure you will find...

presque 2 ans il y a | 0

Réponse apportée
Average Optimization using GA or intlinprog algorithms
This is not an optimization problem. You only look at it in that way. It is purely a problem of a Monte Carlo simulation, to com...

presque 2 ans il y a | 0

Réponse apportée
MacOS(14.0) and Matlab 2014a format problem
R2014a does not run on that recent of the Mac OS. It is not supported there, and in fact, I am surprised it even comes that clos...

presque 2 ans il y a | 0

Réponse apportée
Can multiple versions of MATLAB be installed on the same Windows PC using the same license number for code compatibility?"
Yes. I frequently have multiple releases on my machine. It is occasionally useful, but the older releases are usually there in m...

presque 2 ans il y a | 0

Réponse apportée
how to use lsqcurvefit on a function that contain a series
You only have ONE data point. xdata=420; ydata=0.1; So only ONE piece of information! How do you intend to estimate TWO param...

presque 2 ans il y a | 0

Réponse apportée
how does this work some clarification
Honestly, this Cody answer is one of the reasons why I think Cody is seriously flawed. It encourages people to write obscene cod...

presque 2 ans il y a | 1

Réponse apportée
Alternatives to syms?
Well, it is pretty old, but you COULD just use my sympoly toolbox. ;-) It is on the FEX for free download. (Pretty old by now, b...

presque 2 ans il y a | 2

Réponse apportée
Critical points of level curves
But what question about MATLAB are you asking? You have plotted the surface. and the level curves. And your code was correct to ...

presque 2 ans il y a | 0

Réponse apportée
Having -1 as part of the result when factoring a polynomial
You should understand that a factorization is not unique when you get down to a factor of -1. Yes, it may seem strange, but even...

presque 2 ans il y a | 0

Réponse apportée
how can i make ga to reproduce specific result?
No. You cannot enforce that GA will find any specific result. It appears you understand that GA may find different local solutio...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
Given a taylor series of a function f, how do I get the original function f
You CANNOT do so. I'm sorry, but you are asking the impossible. Looking at it another way, the solution is absolutely trivial. W...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
Gauss seidel method not working for sparse matrices
Um, don't use Gauss-Seidel? It is not that this matrix is sparse. (In fact, it was not even created as a sparse matrix. Sparsit...

presque 2 ans il y a | 0

Réponse apportée
Can using 'angle' to find S21 phase shift ever be done incorrectly?
Hint: Learn about ATAN2, why it exists, and what it does differently. Use of atan gives a 2 quadrant arc tangent. The point is,...

presque 2 ans il y a | 0

Réponse apportée
How to find a sequence from a txt file?
strfind does NOT read a string from a file! You did this: % Open the file fileID = fopen('cDNA1-1.txt', 'r'); % Rea...

presque 2 ans il y a | 0

Réponse apportée
Solving large number of equations
This is not even a remotely large number of equations. Will you please learn to use matrices? X8 appears in only one form in y...

presque 2 ans il y a | 0

Réponse apportée
Expected value with maximal domains
At the VERY least, you have chosen to MULTIPLY the two terms, instead of dividing them. Assuming you really wanted to form a rat...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
MATLAB does not run on new iMAC
You do not say what OS version you have on the iMac, though I can guess, since you say it is a new iMac. The problem is most li...

presque 2 ans il y a | 0

Réponse apportée
Will Quality of Documentation be better in 2024 Products?
If there is something specific that you think was lacking, then it is your responsibility to tell TMW what was missing. Don't ju...

presque 2 ans il y a | 0

Réponse apportée
How to get mesh used by integral function adaptive quadrature
Nothing stops you from recording the points sent into your integration kernel. Save them in a persistent variable, for example, ...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
Are the rules for element by element matrix operation changed?
Long ago, in a galaxy far, far away, we all used to use repmat to work with arrays of different sizes like that. Our code was go...

presque 2 ans il y a | 1

Réponse apportée
How can I ignore (delete) unwanted peaks of a continious signal?
Just choose some point where the curve should have settled into its long term nominal state. That should be at or about a time o...

presque 2 ans il y a | 2

| A accepté

Réponse apportée
I keep this fuzzy function error; "Undefined function or variable 'fuzzy'."
In keeping with a question about the fuzzy toolbox, my response is an oldie, but moldy. That is, do you actually have that toolb...

presque 2 ans il y a | 0

Réponse apportée
lines that meet each other
I think you have what is really a simple question. But you need to formulate it in mathematics, and that is often difficult with...

presque 2 ans il y a | 1

Charger plus