Respondida
Unrecognized function or variable 't'.
Contact the authors of the paper, as apparently having submitted crap for code with undefined variables. Worse, it got accepted ...

más de 4 años hace | 0

| aceptada

Respondida
How to remove the Matlab Drive from a Mac?
Are you talking about the virtual drive used when MATLAB is installed? Assuming that is what you mean, just EJECT the drive. On...

más de 4 años hace | 0

Respondida
How to solve two equations with two unknowns that are vectors?
Sometimes, we get lost in wanting to solve a problem one way, when really, the solution is trivial, if we but look at the proble...

más de 4 años hace | 0

Respondida
Interpolation (interp2 help)
Interp2 does NOT apply to scattered data. You chose the wrong interpolation tool. You MAY be able to use help scatteredInterpo...

más de 4 años hace | 0

| aceptada

Respondida
How does one find the max value of one column and relate it to another column?
Read the help for max. What are the outputs? help max Do you see the SECOND output argument from max? That tells you where the...

más de 4 años hace | 0

Respondida
multiple 2d plot in 1 3D plot with common origin point
Not nearly as hard as it may seem. Or, maybe this seems like it should be easy, and so my solution is actually harder than you w...

más de 4 años hace | 0

| aceptada

Respondida
How to plot x=y2
Has nobody yet fully answered this question? Since it is now long past the time when a homework answer would have done homework ...

más de 4 años hace | 2

Respondida
Can I input data with multiple column lengths into one matrix?
No. Sorry, but no. A matrix cannot have columns that vary in length. A matrix in MATLAB is a rectangular array of scalar element...

más de 4 años hace | 1

Respondida
hi my assignment requires product of all diagonal elements, i did a simply look as copied below, but could only pass the test on one case and failed all others. can you please
If I had to guess, it is because the value of n was never properly defined as the size of the matrix U! For example: U = rand(...

más de 4 años hace | 0

Respondida
I am trying to make a matrix (10x100) called 'DemClay' with a slope of -1 to -0.5 incrementally if possible, so that the first row is -1 and the last row is -0.5
Pretty easy. And soooo many ways to do it. This is a simple one: DemClay = repmat(linspace(-1,-0.5,10)',[1,100]); size(DemClay...

más de 4 años hace | 1

| aceptada

Respondida
Counting liberties on a Go (Baduk, Weiqi) board
This link defines the rules for a liberty: https://www.yourturnmyturn.com/rules/go.php I read them only quickly, but I think I...

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 2

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

más de 4 años hace | 0

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

más de 4 años hace | 1

| aceptada

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

más de 4 años hace | 0

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

más de 4 años hace | 1

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

más de 4 años hace | 0

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

más de 4 años hace | 1

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

más de 4 años hace | 1

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

más de 4 años hace | 1

| aceptada

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

más de 4 años hace | 2

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

más de 4 años hace | 1

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

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

más de 4 años hace | 0

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

más de 4 años hace | 0

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

más de 4 años hace | 3

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

más de 4 años hace | 0

| aceptada

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

más de 4 años hace | 0

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

más de 4 años hace | 2

Cargar más