Answered
Find tangent to set of 2D points
Your curve is somewhat noisy. I might think to point out that my interparc tool from the file exchange can be made to give estim...

8 years ago | 2

| accepted

Answered
How can I set limits to an interpolation with griddata?
You cannot set limits when using griddata, AND the 'cubic' option. It will happily interpolate smoothly as it will. But that may...

8 years ago | 1

| accepted

Answered
Is any way to Inpaint this image?
I won't touch this, and I've written the main inpainting tool on the File Exchange. Do NOT use that tool I've posted, as you wil...

8 years ago | 0

Answered
How to seperate a matrix into several parts and give names each of them?
Don't do it. There are MANY better ways to solve this. For example, convert your vector (via a simple reshape) into an array....

8 years ago | 0

Answered
skipping code sections when running the code
If this is a script, then learn how to use cell mode. Learn about live scripts. If this is a function, then learn to write...

8 years ago | 0

Answered
Best computer for problem
Which specific computer should you get? One as fast as your company will pay for, with the most RAM they will go for. Make sure ...

8 years ago | 1

Answered
How to solve algebraic equations in Matlab 2018a?
In R2018a, they finally stopped letting you just provide a string input. It has been something they have been threatening for se...

8 years ago | 1

| accepted

Answered
Finding value of unknown variable in determinant matrix, where matrix is kept equal to zero
The .jpg you show is a 3x3 matrix, NOT a 6x6 matrix. So there are obvious points of confusion in what you say. But in any case, ...

8 years ago | 0

Answered
Increase performance for null space calculation on symbolic matrix
Surely you need to recognize the difficulties here. If not, then you need to consider what is involved. Let me give a trivia...

8 years ago | 1

Answered
How do I find the mean of all the radius around a point in polar coordinates?
Are you asking how to find the mean of ALL pixels that lie WITHIN a radius of R, of some fixed point in the image? If so, the...

8 years ago | 1

| accepted

Answered
curve fit exactly the function I enter
So why do you think that a sum of two exponentials MUST fit this data? Looking at the data, that hardly seems a good conclusion....

8 years ago | 0

| accepted

Answered
problems with a trascendental equation
You probably need to start with the basic tutorials to learn MATLAB. For example, you do this: m = linspace(10,20,1) m =...

8 years ago | 2

| accepted

Answered
How do I set an inline function as a parameter?
I assume you want to pass in a function to be used in your bisection code? First, don't use inline functions, unless your MAT...

8 years ago | 1

Answered
How to combine series of consecutive numbers in Matlab?
Loops are not terrible things, to be feared in MATLAB. Yes, it is true that often you can gain in speed by replacing nested loop...

8 years ago | 2

Answered
Does different MATLAB versions handle array arithmetic differently ?
In R2016 (not sure if it was a or b. I think b, but not really relevant, so will not check.) they introduced the capability to e...

8 years ago | 0

Answered
same matrix but not equal problem
When you see something that you do not understand, LOOK AT YOUR DATA. C(1,:) ans = Columns 1 through 31 NaN ...

8 years ago | 0

| accepted

Answered
Finding coefficients from factorized polynomial?
I have no idea what you are talking about. n = 3; syms x y z = (x+y)^n; c = coeffs(z) c = [ 1, 3, 3, 1] I...

8 years ago | 0

| accepted

Answered
solving system of equations using singular value decomposition and fsolve
Solving a singular (or nearly so) linear system of equations will have infinitely many solutions, all equally good (or bad). ...

8 years ago | 1

| accepted

Answered
Solve command in matlab not working?
The problem is not in solve. It is with your understanding of the mathematics. You wrote this: N1 = 76.045376620772100, ...

8 years ago | 1

Answered
if statement for error
No. You cannot use if to find an error, because an error interrupts and stops execution of your code. However, you can use a try...

8 years ago | 5

| accepted

Answered
How do I create a solid shape that has a smaller area on the bottom surface than the top surface?
Hmm. But not hard in any case. Best if the top and bottom polggons are the same length. Suppose we create two polygons. If th...

8 years ago | 0

Answered
Does MatLab run on Debian 9?
The answer to these questions is always easy and fast. Just check the system requirements. https://www.mathworks.com/support/...

8 years ago | 1

Answered
How to improve the curve fitting for my data using matlab?
Think about your data. Think about the model you are trying to fit. If necessary, plot your data. Well, actually, plot it ALWAYS...

8 years ago | 0

Answered
Matlab taking forever to give a simple result - something that java does in seconds
Your implementation is just plain silly. Sorry, but it is. You used modpow when you computed it with java. But when you tried to...

8 years ago | 3

| accepted

Answered
Constantly running out of memory - Would Parallel Computing fix this ?
Echoing what Walter has said - parallel processing is essentially never done to decrease memory load. If anything, it will more ...

8 years ago | 0

Answered
How can I find circle diameter using arc ?
Use the entire curve if possible. Well, all of it that you have. Not just a couple of isolated points. Extract points from th...

8 years ago | 0

Answered
How do I turn a maxtrix to a vector
So, you cannot use reshape in a different way? Suppose you first transpose the matrix, and THEN used reshape? (Hint.) The poi...

8 years ago | 1

Answered
Modulus of a negative exponent in matlab?
Um, actually your ststement is mistaken. It is not that MATLAB won't accept a negative exponent. It is that vpi/powermod won...

8 years ago | 1

| accepted

Answered
Equivalent of interp1 for several sets of sampling (same data).
Sorry, but that is a limitation for a very good reason. They are different curves when you change x. Interp1 interpolates val...

8 years ago | 0

Answered
Calculating gradient for equation in higher dimension?
help sym/gradient

8 years ago | 0

Load more