Réponse apportée
I CODED THE PROGRAM BUT DON'T KNOW WHY STATEMENT IS NOT SHOWING, Using the singular value decomposition, prove that σ¯(AB) ≤ σ¯(A)¯σ(B)
I assume your question applies to a theorem about the singular values of the product of matrices. That is, if we compute the sin...

plus de 4 ans il y a | 1

Réponse apportée
Creation of a fitting function with if conditions involved
NEVER do things like this using floating point numbers. round(y(1),1)==0.7 While that may work, will it always? Will it ne...

plus de 4 ans il y a | 1

Réponse apportée
How to plot sin(xy)=sin(x)+sin(y)?
This is called an implicit function. Use fimplicit. Again, easy. fimplicit(@(x,y) sin(x.*y) - sin(x) - sin(y))

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
how to get common range between 20 intervals?
Your question is too fuzzy. You want to satisfy some of the intervals. Most. How many is most? And how is a computer to choose? ...

plus de 4 ans il y a | 2

Réponse apportée
Optimization problem giving inconsistent answers upon changing initial guesses
There are several issues you need to understand. First. not all optimization problems have a single, unique solution, arrived a...

plus de 4 ans il y a | 1

Réponse apportée
Do constants created in primary function transfer over to subsidiary functions created?
There are TWO distinct type of subsidiary functions in MATLAB, sub-functions, and nested functions. Consider first the function...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to create a 1x2 row vector names AB that stores A as the first entry and B as the scond entry?
Since this is impossible in the most basic sense, I assume it is not homework. Simple matrices in MATLAB cannot store a variab...

plus de 4 ans il y a | 0

Réponse apportée
Using function of newer MATLAB version in older version
No. Sorry, but no. You cannot use functions from one release in another release. They essentially check for this. Could you wri...

plus de 4 ans il y a | 0

Réponse apportée
how can I get better interpolation from the scatteredInterpolant command?Gives incorrect answers.
Again, there are INFINITELY many ways to interpolate a set of discrete points. You apparently used scatteredInterpolant, but it ...

plus de 4 ans il y a | 0

Réponse apportée
How to generate M *almost* mutually orthogonal vectors of dimensionality N, where M>>N ?
I'm sorry, but your goal is difficult, virtually impossible. It depends on how close they must be to "orthogonal". In fact, in o...

plus de 4 ans il y a | 3

Réponse apportée
Negation of a function handle
minusf2 = @(x) -f2; "This is working" No. In fact, that does NOT work. That will simply not work. If f2 is a function handle, ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
how to get a number from integration
syms x L=3000/1000; b=40/1000; t=4/1000; h=100/1000; H=200/1000; E=70e9; Ra=11.25e3; I=((b/12)*(h+x*(H-h)/L)^3)-((b-2*t)...

plus de 4 ans il y a | 0

Réponse apportée
Unrecognized function or variable 'ys'
This has ABSOLUTELY NOTHING to do with the symbolic toolbox, or your download of that TB. LOOK AT YOUR CODE. READ THE ERROR MES...

plus de 4 ans il y a | 2

Réponse apportée
MATLAB won't allow me to work with an Array of 7000 rows. It doesn't display an error but It gives me all different values and won't allow me to calcolate the mean
No. 7000 rows is not a limit in MATLAB. Do you need a better PC? Well, Of COURSE YOU DO. We all need better computers. ;) Person...

plus de 4 ans il y a | 1

Réponse apportée
How to perform symbolic integration?
Do you presume that every integral you write down has a symbolic, analytical solution? Is that perhaps really a good idea? syms...

plus de 4 ans il y a | 0

Réponse apportée
Finding values of n for which the equation has a real root
First, as long as n is real, ALL values of n will produce an equation with either one or THREE real roots. That is to say, a cub...

plus de 4 ans il y a | 0

Réponse apportée
SVD of complex matrix to get the desired eigenvectors
K=[-0.469586517065409 + 0.175378013674380i,-0.162669155608248 + 0.474138893683794i,0.187585296250523 + 0.464844814234381i,-0.047...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Solving constrained optimization problem
No problem. Build the matrix A. There is no need to transpose the A_i submatrices, then transpose the result again. Just learn t...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
How can I convert an integer matrix to a real-valued matrix to perfrom SVD
help double

plus de 4 ans il y a | 0

Réponse apportée
I am using fsolve. "fsolve stopped because the last step was ineffective. However, the vector of function values is not near zero, as measured by the value of the function to"
Um, what is not clear? fsolve did not find a solution to your problem. Not all systems of equations have solutions. Even if the ...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
unable to run pinv (Moore Penrose) with accuracy limit
What do you think the 1e-4 applies to? dq=double(pinv(X)*(rGoal-r0),1e-4) Do you think this is a tolerance for pinv? If so, th...

plus de 4 ans il y a | 0

Réponse apportée
how can i calculate fourier?
FOURIER is a function that is part of the symbolic toolbox. If you do not have that toolbox, then you could not use it. However,...

plus de 4 ans il y a | 0

Réponse apportée
Finding a zero meaned matrix vertically and horizontally.
If you are writing a PCA code for yourself, then yes, you want to mean subtract the array. (If you are just going to use the exi...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
With two different initial values I am getting two different answers in fsolve. How to decide which one is more reliable?
When you have different variables with such a large discrepancy in magnitude, the problem is not which solution is more correct,...

plus de 4 ans il y a | 2

| A accepté

Réponse apportée
Feature Request: Add H.264 encoding to "UAV Toolbox / Simulation 3D / Video Send" block
Sorry, but Answers is not the place to post feature requests. We are not technical support for MATLAB. We are just a set of volu...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Finding roots of a polynomial function
The best way to solve this specific problem is to transform it, in the form of a non-dimensional variable. That is, we see the c...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Find the minimum of a function on a plot and where it occurs on the x-axis
You have a function of one variable. Perhaps you should spend some time reading about tools like fminbnd, or even fminsearch. Ei...

plus de 4 ans il y a | 1

Réponse apportée
solve nonlinear equations with unknown variables in matrix format
As an alternative way to understand why there is no solution to your problem is to look at your equations. eq1 = (x+y)*cos(z)-a...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to get the mean of a staircase graph?
You don't give your actual data, just a pcture of it. Yes, sometimes a picture is worth a thousand words, but pictures are not w...

plus de 4 ans il y a | 0

Réponse apportée
how to write fraction function in complex plane by using matlab
MATLAB has a simple form to allow you to store only the coefficients of a polynomial. You aready know that. But there is no simp...

plus de 4 ans il y a | 0

| A accepté

Charger plus