Réponse apportée
Finding non trivial solution for a system of equations
This is called a Homogeneous linear system of equations. They are explicitly linear in the unknowns C1 and C2. What that means...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
Should this Symbolic Limit be Zero?
Sometimes I wish these tools could tell us where they are stumbling in the solution, when they get stuck. For example, suppose ...

plus de 3 ans il y a | 0

Réponse apportée
How can I get the zero crossing contour of a matrix
help contourc For example: v = linspace(-5,5,100); [x,y] = meshgrid(v,v); z = x.^2 - y.^2 + 1; % The contours will be hyperb...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
Plotting problem of function in one variable and four known parameters
Does it not tell you the problem? x = 1:5; For example, what do these two operations do in MATLAB for the vector x? x.^2 x^2...

plus de 3 ans il y a | 0

Réponse apportée
Taylor Series Figures of e^x
Ok. Now that you have changed the function to one that actually looks like the desired expression... :) My test would be one to...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How do I find the expected value of power in random variable?
There is no simple formula (that does not involve an integration) to compute the expected value of the square of a random variab...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
if statement inside of a Function is working only in certain conditions
You don't understand how an if statement works on a vector. For example, what happens when I do this? Surely, in terms of the co...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
Random permutation of integers from 1 to n without repetition but for large n
Almost always, when I see someone wanting to solve a problem in this way, it means they are trying to use brute force, thus a br...

plus de 3 ans il y a | 0

Réponse apportée
No feasible solution in optimisation in linprog
I posted a question recently to help explain some of the reasons when linprog fails. You should read my first answer, as it disc...

plus de 3 ans il y a | 0

Réponse apportée
How may I split a matrix into two based on 0/1 of the first column?
If you will split it into only two matrices, then use named variables as you wish. If you wanted to split it into multiple parts...

plus de 3 ans il y a | 0

Réponse apportée
String array of the letters of the alphabet
alf = 'a':'z' It also works for caps. ALF = 'A':'Z'

plus de 3 ans il y a | 0

Réponse apportée
Query about dirac delta function
It seems pretty clear. help dirac So dirac(2,w) is the second derivative of that function, at w. yes, I know how can you diffe...

plus de 3 ans il y a | 0

Réponse apportée
what does pc1 and pc2 represent?
For example... load fisheriris whos [COEFF, SCORE, LATENT] = pca(meas); So the first component is huge compared to the other...

plus de 3 ans il y a | 1

Réponse apportée
How can I use Newton’s Method when I have a 2D domain?
Don't write code for Newton's method, when you can use fzero. Just put a loop around it, and call fzero for each pair of dC/dx a...

plus de 3 ans il y a | 0

Réponse apportée
How plot the average sum of three dices versus the number of experiments?
Simple. 3 (fair, so unbiased) dice, numbered 1:6 on the 6 faces. (Not one of those gaming dice with 20 faces or so.) Done over ...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
Minimize a function with special constraints
If linprog tells you the problem is unbounded, then it is. What does that mean? Unbounded means there is some direction you can...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Combinations with a condition
Easy enough. x = 0:6; [x1,x2,x3] = ndgrid([0 3 6]); x123 = [x1(:),x2(:),x3(:)]; ind = ismember(sum(x123,2),3*x); x123(ind...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
automatic circles that enclose clusters of similar data something like lineCoeff = polyfit(x, y, n) (regression line)
incircle has nothing to do with your problem. Sorry. You would first want to use some sort of clustering algorithm on your dat...

plus de 3 ans il y a | 1

Réponse apportée
fminsearch does not minimize my function
Probable user error. Various possibilities exist, the most common are: Your function is improperly coded, so it does not do wha...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
symsum and a divergent series
Is it possible? Well, yes. And, sometimes, no. But you can always use Mathematica. What else can I say? When symsum returns a ...

plus de 3 ans il y a | 2

| A accepté

Réponse apportée
LINPROG requires the following inputs to be of data type double: 'f'.
Apparently some or all of the arguments to LINPROG were not doubles. Which ones? In your code, we see this: yp= @(x) x*trareg1...

plus de 3 ans il y a | 0

Réponse apportée
How to find the angle between two hyper planes?
Will you please learn to use arrays? You have moved from 2-3 to now 6 dimensions in your questions. When you are one day trying ...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Is there any Matlab finction to compute an integration using Rmberg method?
Not exactly. For example, if you look up Romberg integration, you will find it is based on Richardson extrapolation, but at leas...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
Excel Solver least squares vs MatLab optimization
fminsearch is never a tool you want to use if you want any kind of strong convergence. Sorry. But comparing anything to fminsear...

plus de 3 ans il y a | 0

Réponse apportée
Problems with the parallel inversion of a large, sparse and linear system in Matlab
You should NEVER be inverting a large sparse linear system. The result will generally not be sparse, so you will then gain nothi...

plus de 3 ans il y a | 0

Réponse apportée
curve fitting using least square method form equation , y = (1 + a sin(2x))/ (b + cx^2) where a, b, c are unknown real constants.
Hint (since this is homework): What is your model? WRITE IT DOWN. What happens when you mutiply by the term in the denominator? ...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
TriscatteredInterp on a multi-core computer
A long dead question. But even today, you won't easily find tools like triscatteredinterp, or griddeInterpolant, that will work ...

plus de 3 ans il y a | 0

Réponse apportée
Solving a 2nd order ODE for specific parameters
Did you try it? What did you try? For example, I started with what you said. YOU CANNOT use ODE45 to solve a problem where the p...

plus de 3 ans il y a | 0

Réponse apportée
difference between Matlab v7.9 and v6.5
which abstractAngleConv -all That is part of the mapping toolbox, but not something that is accessible directly to a user. So y...

plus de 3 ans il y a | 0

Réponse apportée
adjusting the peak of a spline in curve fitting
Um, you are not being very clear here, probably because you don't totally appreciate what you are asking. Certainly you have not...

plus de 3 ans il y a | 0

Charger plus