Réponse apportée
integration files
Mapping toolbox? <http://www.mathworks.com/products/mapping/>

plus de 12 ans il y a | 0

Réponse apportée
reversible matrix operation
Your Laplacian matrix is not full rank. Because your system is consistent, you have multiple solutions, and you're just getting ...

plus de 12 ans il y a | 0

Réponse apportée
reversible matrix operation
Your code doesn't run for me -- first, I don't have a function |avg| - did you mean to use |mean|? Second, if I replace all ...

plus de 12 ans il y a | 0

Réponse apportée
difference between .01 and 0.01 in matlab?
Readability

plus de 12 ans il y a | 2

Réponse apportée
if statement for range of array values
To check I've understood correctly, you only want to do something if the current and two preceding |x| values are all less than ...

plus de 12 ans il y a | 0

Réponse apportée
Numerical methods with first order equations
ode45

plus de 12 ans il y a | 0

Réponse apportée
Matrix fill-in when solving sparse linear systems
Firstly, is there any reason to believe that |x| should be sparse? Just because your matrix |A = C*C'| and your right hand sides...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Runge-Kutta method related
Why are you bothering to use |ode45| at all? Your solution for any |t >= ti| is just y = y0 + (t - ti) * (g*n-0.5*(u^2+v...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
value of log(1000)
log10(1000)

plus de 12 ans il y a | 0

Réponse apportée
Inserting zero rows and columns into matrix efficiently
Perhaps I'm misunderstanding, but your example can be generated from the following M = zeros(numel(pointer_master)); M(p...

plus de 12 ans il y a | 1

Réponse apportée
Fixed point (matematice)
|xold| never gets updated, so |xnew| gets set to the same value every iteration, and the loop never ends ...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
ode45
Yes, certainly possible. The basic approach would be to turn it into a system of first order odes of twice the dimension as foll...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
Caught in loop
Your code works fine. If you remove the |disp| statement (which is causing it to slow down heaps), you'll find that it runs comp...

plus de 12 ans il y a | 1

Réponse apportée
Triangular surface
Simple example using |DelaunayTri|. First create a set of points N = 1000; theta = 2*pi*rand(N, 1); phi = acos(2*rand...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
[DISCONTINUED] Wish-list for MATLAB Answer sections.
Another thing that would be awesome would be the ability to submit a published m-file as an answer. Often I find myself answ...

plus de 12 ans il y a | 0

Réponse apportée
Help with identifiny change in curve shape automatically
What I think you're looking for are effectively the points of high curvature. If you have access to the curve fitting toolbox th...

plus de 12 ans il y a | 1

| A accepté

Réponse apportée
Need command help for a specific matrix operation
*EDIT* Needed to strain my eyes harder to figure out that the matrix in question had 4 rows C = [0 1 0 0; 0 0 1 0] * A.^2;

plus de 12 ans il y a | 1

Réponse apportée
finding turning points of a dataset
Why don't you look for local maxima of curvature? This way you don't have to define any subjective tolerances. You may need to s...

plus de 12 ans il y a | 1

Réponse apportée
signals addition
Assuming they correspond to the same sampling rates, truncate one of them to be of the same length as the smaller one: n1 =...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
ODE45- How to pass parameters out
Why don't you just solve your ODE first, and then call the RHS function, modified to print out your parameters of interest, at t...

plus de 12 ans il y a | 1

Réponse apportée
how to efficiently find the indices?
|sort| is your friend: First we sort the entries of |A| so that like entries are adjacent [S, iSorted] = sort(A(:)); ...

plus de 12 ans il y a | 3

| A accepté

Réponse apportée
Matlab Help
"Use MATLAB to solve the following...." I've done it, now what do I get? Chocolate fish?

plus de 12 ans il y a | 0

Réponse apportée
how to efficiently find the indices?
Depending on whether you want the first or the last occurence [uM, I] = unique(M, 'first') [uM, I] = unique(M)

plus de 12 ans il y a | 0

Réponse apportée
Generation of a matrix
To give you some context, 9^275 = 2610298031214360458037978142613933577909126030175802622149530339319603934430500962487448801...

plus de 12 ans il y a | 0

Question


Licensing: Parallel Computing Toolbox labs vs independent MATLAB sessions
From a licensing perspective, what's the difference between running |n| independent MATLAB sessions and running |n| Parallel Com...

plus de 12 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
matrix automation problem
This is one annoying case where the sparse version |spdiags| can do more than the full one |diag| n = 10; m = n-2; c1...

plus de 12 ans il y a | 0

Réponse apportée
In an assignment A(I) = B, the number of elements in B and I must be the same - error using ode 45
Hi Peter Your code is actually fine (I just ran it). You must have something nasty hanging around to give that error (as Walt...

plus de 12 ans il y a | 0

Réponse apportée
Finding lists of connected triangles in TriRep class
Why don't you want to define an adjacency matrix? If you do, then you could just use the |components| routine in MATLAB-BGL <...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
kl transform
There's a demo in the file exchange <http://www.mathworks.com/matlabcentral/fileexchange/30678-image-compression-demo-usins-k...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Is deleting threads helpful in this forum?
My opinion is that a question can be deleted until it has been answered. Then it can't. Editors, and only editors, should be abl...

plus de 12 ans il y a | 2

Charger plus