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

4 years ago | 2

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

4 years ago | 0

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

4 years ago | 1

| accepted

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

4 years ago | 0

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

4 years ago | 1

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

4 years ago | 0

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

4 years ago | 1

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

4 years ago | 1

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

4 years ago | 1

| accepted

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

4 years ago | 2

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

4 years ago | 1

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 3

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 2

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

4 years ago | 1

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 1

| accepted

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

4 years ago | 1

| accepted

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 1

| accepted

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

4 years ago | 2

| accepted

Load more