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

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

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

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

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

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

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

5 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? ...

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

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

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

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

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

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

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

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

5 meses hace | 0

| aceptada

Respondida
How to work out trigonometric identities symbolically?
There are literally an infinite number of possible results you MIGHT expect for even that simple product. But simplify is able t...

5 meses hace | 2

| aceptada

Respondida
Computer Vision and Image Processing toolbox ISO26262 Certification
Answers is not customer support, but just a user forum. The information you request can come only directly from The MathWorks, n...

6 meses hace | 1

Respondida
Variable might be set by a nonscalar (three variables in pythagorean triplet)
Let me suggest that brute force is NEVER the good way to solve a project Euler problem. NEVER. When brute force is applied, most...

6 meses hace | 1

Respondida
compute the inverse sine of the sine of 45 degrees and assign the answer in radians to a variable named a.
Well, you are not doing anything overtly wrong. I would guess the answer is a subtle one, and reflects an error on how the test ...

6 meses hace | 0

Respondida
what is the highest number that matlab can handle. (especiially for the 3x+1 problem). i am trying to do the seed 10^310 i am not getting the plot or output why?
Your question should not be the highest number, but the largest INTEGER MATLAB can handle as a double. That would be 2^53-1. An...

6 meses hace | 1

Respondida
Cap Maximum ODE solve time
Simpler is to just set the maximum number of evals or iterations. This way you don't need to do anything special, just set a fla...

6 meses hace | 0

Respondida
The below code takes much time to just compute till N=5. But I wanna know how to do it for N=100 or more a bit faster.
I want a bright red new Ferrari in my driveway for Christmas. Its not gonna be there of course. But we all want things we can't ...

6 meses hace | 0

Respondida
How to merge red and blue images on white background with transparency
Easy enough, in a very lazy way too. If you kow how to do what you want with a black background, then make it so. And then back....

6 meses hace | 0

| aceptada

Respondida
How to use arrayfun with built-in Matlab functions where the variable parameter is passed with 'Name', 'Value'?
I see this soooo often, people thinking arrayfun is a good way to speed up code. But, is it, really? Arrayfun is a nice tool to ...

6 meses hace | 1

Respondida
solving system of equations
There is absolutely no need to use an iterative solver!!!!!!!! The idea is to remove the absolute value from your problem, and ...

6 meses hace | 0

Respondida
Can not read MAT file in another language
My guess is Julia can read a .mat file created for an earlier release of MATLAB. Looking at the help for save, you can specify a...

6 meses hace | 0

| aceptada

Respondida
Trying to do an fsolve via an anonymous function
You say you want to use fzero. But you need to understand that fzero is a ONE variable solver. It CANNOT solve a multi-variable ...

7 meses hace | 0

Respondida
Precision lost when combining Int32 integers with single precision numerical numbers
Why is MATLAB set up this way? Because you can't please all of the people, all of the time. Suppose a numeric vector could have ...

7 meses hace | 4

| aceptada

Respondida
What is the difference between A={1 2} and A = { '1','2'} and how to convert one from other ?
Think of it like this: 1 is a "number" as stored in MATLAB, as is 2. X = [1 2] whos X X is stored in double precision. We ca...

7 meses hace | 0

Cargar más