Beantwortet
Finite elements model using STABIL
I cannot test your code, as I lack the tools you are using. Regardless, IF you tell us the solve yields NaNs, then there are onl...

6 Monate vor | 0

Beantwortet
Using logic to select specific values in a matrix
Well, you are doomed to failure, as long as you don't use the right variable names as you created them! A = [1, 0.1234 1,...

6 Monate vor | 0

Beantwortet
In how many functions using the global variable, can a global variable be declared?
There is no limit on how many functions can use a global variable. At the same time, I will plead, for your own sanity, to recon...

6 Monate vor | 1

Beantwortet
How do I plot a graph with the grid for trig functions with 0 ≤ x ≤ 2π
@Sean syms x f = cos(x) dfdx = diff(f) help fplot

6 Monate vor | 0

| akzeptiert

Beantwortet
Should I need keep in my PC previous versions of Matlab?
Some of us keep older releases, just to answer a question about an older release, testing out code in the old release. I do ten...

6 Monate vor | 0

Beantwortet
Unable to fetch more decimal points for values stored in sldd
You need to learn about the format command. All of the digits are still there, they were just not reported. I'll add a few digit...

7 Monate vor | 1

Beantwortet
The symbol "1" is not a scalar in integral3
If ALL you want to do is compute a volume, especially of such a simple domain, there are better ways to do so. If the domain is ...

7 Monate vor | 1

Beantwortet
How does the svd function determine or fix the phase of singular vectors?
First, signs are to some extent arbitrary. That is, for EIG, you can multiply an eigenvector by -1, and it is still an eigenvect...

7 Monate vor | 1

Beantwortet
Obtaining the differential equations from graphical representation of the problem
Can you show that a set of equations is a valid representation of some data, merely by comparing them to a curve you find in som...

7 Monate vor | 0

| akzeptiert

Beantwortet
Will the old-style class definitions be supported in future version of Matlab?
One thing you cannot realistically ask on Answers (if you expect a fully valid answer) is what decisions about MATLAB will be ma...

7 Monate vor | 1

Beantwortet
Modelling a system of differential equations with recurrences in matlab
This is known as a delay differential equation. You will find any solvers for them starting with the letters dde. help dde23 Y...

7 Monate vor | 0

Discussion


OH NO! isprime is missing? (Just kidding)
What if you had no isprime utility to rely on in MATLAB? How would you identify a number as prime? An easy answer might be some...

7 Monate vor | 0

Beantwortet
Iterating the eigenvalue function (eig) produces patterns --- is this a well known result?
I'd have a hard time believing this is well known. @Christine Tobler would be the one to know though, and she agrees. It just f...

7 Monate vor | 0

Beantwortet
Question on the format of 2D curve fit equations in plot
Scientific notation. 6.588e + 06x^2 == 6.588*10^6 * x^2 Note that it is easier and faster to write, and even a bit easier to ...

8 Monate vor | 0

| akzeptiert

Discussion


Approximating a floating point number with a finite representation in decimal form
I saw an interesting problem on a reddit math forum today. The question was to find a number (x) as close as possible to r=3.6, ...

8 Monate vor | 0

Beantwortet
How do I find the average of a vector of units by using a for loop?
When you create a variable name, NEVER, NEVER, NEVER use a name that is an existing and useful function name. (Well, it might be...

8 Monate vor | 0

Beantwortet
how to find orthonormal vector with condition?
Confusing question. Which probably means I'm misunderstanding your goal here, or that I am myself confused, which is not uncommo...

8 Monate vor | 0

Beantwortet
Closed contour with least square differences to dataset
This can be quite difficult if you have some completely arbitrary form. But you tell us this is a simple closed form. And as lon...

8 Monate vor | 0

Beantwortet
MATLAB R2018a needed
We cannot give you a copy of MATLAB. Answers is not customer support anyway. And even they don't just give out copies for anyone...

8 Monate vor | 0

Beantwortet
[coeffA,scoreA,latentA] = pca(X);
The editor likes to complain. Just the kind of program it is. Think about this as a suggestion, a hint, in case maybe your code...

8 Monate vor | 0

Beantwortet
How to define 1-bit variable in data dictionary?
MATLAB does not have a true 1-bit data class. Even a logical, which is clearly a 1 bit thing, thus either true or false, is sto...

8 Monate vor | 0

| akzeptiert

Beantwortet
Polyfit isn't adjusting to decreasing sinoidal data
Do you appreciate just how NON-polynomial-like this data is? Your data appears to be a variation of decaying sinusoid. While, ...

8 Monate vor | 0

| akzeptiert

Beantwortet
Precision Loss in Arithmetic Encoding of Binary Vectors for Reversible Data Hiding in 3D Meshes
You are telling us that you effectively have a binary number with 7000 binary bits. You convert it to a decimal number, and then...

8 Monate vor | 0

| akzeptiert

Beantwortet
SVD to a matrix subset (rows)
No, I don't think you can easily find the SVD of a subset of the rows of a matrix, based on the SVD of the full matrix. At least...

8 Monate vor | 2

Beantwortet
I can not say wether Eigs is giving expected results or not
It is literally trivial to get large differences there. We need not even use eigs. Eig will suffice. A0 = randn(6); A0 = A0 + A...

8 Monate vor | 2

| akzeptiert

Beantwortet
How to correctly find the solution of a system of equations containing trigonometric functions
It was smart of you to look at the results, and question them. Always think about what comes out from a solver. Does the solutio...

9 Monate vor | 0

Beantwortet
Analytic solution of quatric polynomial does not add up
One of the things you need to learn about symbolic algebra, is two expressions may not look the same, but that does not mean the...

9 Monate vor | 0

Beantwortet
Function requires a Toolbox for which you do not have a license
If you could use it in the past, then you had a license for that toolbox. You cannot use a function from a toolbox where you lac...

9 Monate vor | 0

Beantwortet
save a cmyk image in jpeg
No. Imwrite cannot save a CMYK image to JPG. However, it can save a 4 channel image to a PNG format. Then I would open the image...

9 Monate vor | 0

| akzeptiert

Beantwortet
Help with Difference Equation in MATLAB
Since V_i and h_i appear to vary with the index i, there is no analytical solution. (If V and h were constants, not changing wit...

9 Monate vor | 0

Mehr laden