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

5 meses hace | 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...

5 meses hace | 0

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

5 meses hace | 0

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

6 meses hace | 0

| aceptada

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

6 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 0

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

6 meses hace | 0

Respondida
[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...

6 meses hace | 0

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

6 meses hace | 0

| aceptada

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

6 meses hace | 0

| aceptada

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

6 meses hace | 0

| aceptada

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

6 meses hace | 2

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

6 meses hace | 2

| aceptada

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

7 meses hace | 0

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

7 meses hace | 0

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

7 meses hace | 0

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

7 meses hace | 0

| aceptada

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

7 meses hace | 0

Respondida
Unexpected results using SVD to separate components that make up a function
Yes. You do misunderstand how svd works, and what it produces. As well, I think you misunderstand what a rank 1 matrix means. A...

7 meses hace | 1

| aceptada

Respondida
Why does DC offset occur when integrating AC signals in MATLAB/Simulink?
It looks like you want to integrate what appears to be a sine wave. You did that, expecting to get a pure cosine wave, Right? ...

7 meses hace | 2

Respondida
fill function sometimes working and sometimes not working, why?
Seems trivial to me. (Ok, easy. Triviality is in the eye of the beholder.) I don't give a hoot about how many real roots it has,...

7 meses hace | 0

Respondida
how to manage fzero output
I'd argue you are thinking about this the wrong way.You see that fzero has a problem, so you think you need to do something to f...

7 meses hace | 0

| aceptada

Respondida
Inquiry on Time Complexity of cumsum
There is no (good) answer to your question. And that answer will subtly change next year too, with the next release of MATLAB, o...

7 meses hace | 2

| aceptada

Respondida
Effect of rng on Genetic Algorithm
Let me expad on what @Walter Roberson said. There is no optimum seed, that is one seed that will be perfect for any problem. In ...

7 meses hace | 0

Respondida
where is the setting to page/summarize large tables?
We don't want you to go nuts. But, I'm a little surprised, as tables do what you want already by default, using R2025a, on my co...

7 meses hace | 0

Respondida
how can i contact any people in Mathworks interested in using and integrated our algorithm in Matlab software.
I'm sorry, but to be honest, I doubt they would be terribly interested, as there are too many problems that would arise. I assum...

7 meses hace | 0

Respondida
Backslash (mldivide) slower than inverse and multiplication
First of all, you should NEVER be computing A*A' or A'*A. that is where most of the loss in accuracy arises. Whatever is the con...

8 meses hace | 1

Respondida
Solving DE initial value problem symbolically in Matlab
Before we go too far, we want to look at your claimed solution. syms y(x) % tells matlab that y is an unknown function of x OD...

8 meses hace | 0

| aceptada

Cargar más