Beantwortet
Finding identity matrix-like square matrix given two rectangular matrices
Since you have A which is mxn, and n>m, the problem is not that A is singular, or even rank deficient, it is that the problem is...

mehr als 4 Jahre vor | 2

Beantwortet
how to remove uncertainty from data in order to plot it
You could do something as simple as: S = "2.19479E-8 ± 2.46286E-10"; substrs = split(S); N = double(substrs(1)) That is, bre...

mehr als 4 Jahre vor | 0

Beantwortet
How to solve the below numerical
So for any given value of H, y, znd z, you want to be able to write x as a function of them, then drawing a nice pretty picture....

mehr als 4 Jahre vor | 1

| akzeptiert

Beantwortet
To find the similar function
Why would there be a different one? Do you really need multiple ways to do this, especially since any other way you would do it ...

mehr als 4 Jahre vor | 0

Beantwortet
How can I determine the the X and Y equation using coefficients of cscvn function?
Congratulations! You are the 1 millionth person to ask essentially the same question. Your reward for this is a one-way un-paid ...

mehr als 4 Jahre vor | 1

Beantwortet
Obtaining half-spaces from the convex hull in MATLAB
What is a half space? Well, what do you mean by that? And what do you mean by "manually calculating" them? And is there some sim...

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 1

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

mehr als 4 Jahre vor | 1

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

mehr als 4 Jahre vor | 1

| akzeptiert

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

mehr als 4 Jahre vor | 2

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

mehr als 4 Jahre vor | 1

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

mehr als 4 Jahre vor | 0

| akzeptiert

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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 3

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

mehr als 4 Jahre vor | 0

| akzeptiert

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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 2

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

mehr als 4 Jahre vor | 1

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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 0

| akzeptiert

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

mehr als 4 Jahre vor | 1

| akzeptiert

Beantwortet
How can I convert an integer matrix to a real-valued matrix to perfrom SVD
help double

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 1

| akzeptiert

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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 1

| akzeptiert

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

mehr als 4 Jahre vor | 2

| akzeptiert

Mehr laden