Answered
how to construct this in matlab? can anyone explain step by step?
One line of code. The explanation is right there. If you want more depth, the read the doc for jacobian. The good thing is, MATL...

3 years ago | 0

Answered
Colon syntax for creating a sequence of numbers that skips a given number?
You can't, at least not directly. But it is quite simple. For example: setdiff(1:10,3) % 1:10, missing 3 There are probably ot...

3 years ago | 0

Answered
normalizing a normal distribution
You don't show the actual mean and standard deviation used for that plot, so I'll make a wild guess. mu = 0.55; S = 0.18; fpl...

3 years ago | 0

Answered
How can I calculate the index of when the sequence starts to repeat?
Why is it clear? It is not certain that it repeats at the points you have indicated. For example, what is the repeating sequenc...

3 years ago | 0

Answered
Caesar's cypher working incorrectly
Question: What do the functions upper, and islower do in MATLAB? help upper So upper converts a string to entirely uppercase. ...

3 years ago | 0

Answered
2nd Order ODE Euler method not producing expected results
That is not uncommon with Euler. It can be an unstable method. At each step, a small amount of error gets added in. Eventually,...

3 years ago | 0

| accepted

Answered
Is possible to integrate numerical data using quadrature method?
TRAPZ already is a quadrature method!!!!! TRAPZ is an implementation of trapezoidal integration, i.e., QUADRATURE. Where do you...

3 years ago | 0

Answered
factorization of Multivariate polynomial
This is a bit of a hack of course, since factor seemingly should have solved the problem with the appropriate setting. The probl...

3 years ago | 0

Answered
I'd like to skip the file that's not there and bring it up!
mat rap? Is that some godawful new song I've never heard before? ;-) That just seems, well, raprehensible to me. You don't want...

3 years ago | 0

| accepted

Answered
Most efficient way of looking up values in an array.
It hurts my head to see this ordering: (y1, x2, y2 and x1). Sigh. Why? Whatever floats your boat, I guess. I would not be usin...

3 years ago | 0

| accepted

Answered
matlab some polyfit problem
It is NOT abnormal. It is perfectly normal, and, in fact, perfectly correct. And the scaling is actually a valuable tool, when n...

3 years ago | 0

Answered
how to use big prime in meshgrid
Pick some random integer X, less than p. You will need to use some tool capable of working with large integers, greater than the...

3 years ago | 1

| accepted

Answered
Find column number for every row in matrix
Simple. One line. A = randi([-5,5],[10,7]) [~,col] = max(A > 0,[],2) Why does it work? A > 0 returns an array that is true (1...

3 years ago | 0

Answered
Does the eig() function return normalize eigen vector (unit length)?
Yes. V is normalized to have unit 2-norm, at least in common cases. Surely you could have checked that? A = magic(5); [V,D] = ...

3 years ago | 0

| accepted

Answered
How to change the independent variable?
plot(x,f)

3 years ago | 0

Answered
Solving differential equation in series general solution
I just showed you how to solve the problem, for two unknown constants. Of course, your question here involves an initial value a...

3 years ago | 0

Answered
How to solve differential equation of series general solution
Assuming I typed in that line correctly... syms y(x) S = dsolve(8*x^2*diff(y,2)+10*x*diff(y)+(x-1)*y==0,'ExpansionPoint',0, 'O...

3 years ago | 1

Answered
Inquiry about Neural Network Structure for Lane Keeping Assist Example
Answers is not the MATLAB support team. Answers is purely volunteer supported. We have no acess to the information you would wan...

3 years ago | 0

Answered
Simple loop with equation problem
Looking at your code... Learn to use semi-colons at the end of your lines. This avoids crap being dumped into the command windo...

3 years ago | 0

Answered
How to plot ellipse using contour function?
I'm a little confused. You DID draw ellipses. It seems the goal was not to draw the ellipses you drew though. Essentially, as yo...

3 years ago | 0

Answered
Problems accepting integer values with power and algebraic symbols using inputdlg
You could just learn to use the standard scientific notation. So 123e4, which represents 123*10^4. 123e4 Or, you could see tha...

3 years ago | 0

| accepted

Answered
не удалось получить пробную версию
I would advise you to contact customer service. Answers is not an official line to The MathWorks, so we cannot tell you what is ...

3 years ago | 0

Answered
Go on my Nationale Education license after the Easter holidays
(I removed your license number from your question.) Regardless, Answers is not official customer support. Answers is just a foru...

3 years ago | 0

Answered
What is the complexity of intlinprog
This is a question with seemingly no answer as posed. Why not? Because intlinprog will use many different methods, depending on ...

3 years ago | 0

Answered
Solving for Variables contained an interval
syms x y = (sin(x) * (2* cos(x) - 1)) / (1 + 2 * cos(x)); xsol = solve(y == 0) There are only three primary solutions. xso...

3 years ago | 0

Answered
I have to perform integration of very large equation in Loop
Should every possible expression you write down, long, or short, have an analytical integral? int seems to be unable to do so. O...

3 years ago | 1

Answered
Using a variable shift to match up odd and even rows that are displaced within an image.
Many unclear things here. Ok, its mostly your image that to me was unclear. :) But then, I need new eyeglasses. Seriously, I se...

3 years ago | 1

Answered
page-wise matrix determinant or eigenvalues
@Henry Brinkerhoff seems to have found a semi-viable solution, in the form of pagesvd. It will be valid, within a factor of -1. ...

3 years ago | 0

Answered
Finding linear combination of two vectors such as every element is positive
Hmm. Is this homework? I wonder, but I have learned not to trust that students won't post homework, and this is a cute problem. ...

3 years ago | 1

| accepted

Answered
z=f(x,y) and w=f(x,y). I am trying to reverse the table to get x=f(z,w) and y=f(z,w).
In general, this is often impossible. That is so for good reasons too. The problem is, IF you have any instances where the resp...

3 years ago | 1

Load more