Beantwortet
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...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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 ...

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 1

Beantwortet
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...

mehr als 2 Jahre vor | 2

Beantwortet
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 ...

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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,...

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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, ...

mehr als 2 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 2 Jahre vor | 1

Beantwortet
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...

mehr als 2 Jahre vor | 2

| akzeptiert

Beantwortet
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...

mehr als 2 Jahre vor | 0

Beantwortet
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...

mehr als 2 Jahre vor | 1

Beantwortet
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...

mehr als 2 Jahre vor | 0

Mehr laden