![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/25459620_1657987884167.jpg)
L'O.G.
Followers: 0 Following: 0
Estadística
127 Preguntas
0 Respuestas
CLASIFICACIÓN
13.887
of 297.016
REPUTACIÓN
3
CONTRIBUCIONES
127 Preguntas
0 Respuestas
ACEPTACIÓN DE RESPUESTAS
77.95%
VOTOS RECIBIDOS
3
CLASIFICACIÓN
of 20.419
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
of 157.725
CONTRIBUCIONES
0 Problemas
0 Soluciones
PUNTUACIÓN
0
NÚMERO DE INSIGNIAS
0
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Pregunta
Using accumarray to sum all values associated with a given node
Given a graph with the following edges edges = [1 2; 2 3; 3 1; 2 4; 4 5; 4 1]; I have some data associated with each edge dat...
alrededor de 1 año hace | 2 respuestas | 0
2
respuestasPregunta
Numerical first derivative of irregularly spaced data
Given a vector x and a vector y, the numerical first derivative should be gradient(y)./gradient(x) for all points specified by x...
alrededor de 1 año hace | 1 respuesta | 0
1
respuestaPregunta
Solving an initial value problem when one of the initial values is unknown
I am trying to numerically solve the ODE given by a*y"(t) + b*y'(t) = c, where a, b, and c are positive constants. I set this up...
más de 1 año hace | 2 respuestas | 0
2
respuestasPregunta
How do you set up an ode solver with a more than one function in the ode?
For example, if you have an ode such as a*df(t)/dt + b*dg(t)/dt + f(t) + g(t) + c = 0 that you'd like to solve and if you want t...
más de 1 año hace | 2 respuestas | 0
2
respuestasPregunta
How do you solve a coupled ODE when one of the ODE results in a vector of length 3 and the other results in a scalar of length 1?
For instance, in the following example that I found online, if dz(2) were actually a vector, how would you modify this? [v z]...
más de 1 año hace | 1 respuesta | 0
1
respuestaPregunta
How to call an ode solver within another function?
I solve dx/dt = x(t) using an ode solver sol = ode45(@(t,x) u(t,x,ode,eps,a0),[t0 tf],[x1;x2]); that calls a function u fo...
más de 1 año hace | 1 respuesta | 1
1
respuestaPregunta
How to do this unusual Fourier transform?
I am trying to compute a sine transform: I'm not sure about the non-standard bound of the integral (why it's not infinity...
más de 1 año hace | 1 respuesta | 0
1
respuestaPregunta
Solving linear systems in Matlab
How do I solve for x in u = A(x+b)? A is a matrix, and the other terms are vectors. Isn't it something like x = A\u - b ? I'm no...
más de 1 año hace | 2 respuestas | 0
2
respuestasPregunta
Runge-Kutta with a function that changes at each time step
I previously asked a question about solving an equation dx/dt = u(x,t) where u(x,t) is a velocity. I want to solve for the posit...
más de 1 año hace | 1 respuesta | 0
1
respuestaPregunta
Using Runge-Kutta in Matlab
I am trying to solve an equation dx/dt = f(x,t) where f(x,t) is a velocity. I want to solve for the positions x to obtain the tr...
más de 1 año hace | 1 respuesta | 0
1
respuestaPregunta
Integrating a constant?
This is more of a physics question than a Matlab question, but given an instantaneous velocity vx and a time increment dt, how d...
más de 1 año hace | 1 respuesta | 0
1
respuestaPregunta
Numerical integral where the bounds change with each evaluation
I'm trying to take the following integral: I tried this symbolically, but I think that was throwing me off. I am attachin...
casi 2 años hace | 1 respuesta | 0
1
respuestaPregunta
How to take an integral symbolically and then convert it to type double?
How do I take the following integral symbolically? And convert it to double? I have a 1000 x 1 numeric vector of type double for...
casi 2 años hace | 1 respuesta | 0
1
respuestaPregunta
Inverse of a matrix
I want to solve the following for X2: A = B(X1+X2) where B is a matrix, and A, X1, and X2 are vectors. I can't divide by a matri...
casi 2 años hace | 1 respuesta | 0
1
respuestaPregunta
Integration when some of the values change over time
I have a function of the form where is the position of the k-th object and is the corresponding force. The force has a functio...
casi 2 años hace | 1 respuesta | 0
1
respuestaPregunta
How can I detect the object in this noisy image?
I'm trying to process images like the attached. In this case, there should be an object near the center of the image around test...
casi 2 años hace | 2 respuestas | 0
2
respuestasPregunta
Cell arrays with a vector within a cell within a cell
I have a cell array where each element consists of a 1 x 1 cell containing a vector of type double, i.e., C{1,1} contains a vect...
casi 2 años hace | 3 respuestas | 0
3
respuestasPregunta
How do you convert the cell within a cell to a vector?
I have a cell of cells. The inner cell is a 1 x 1 and contains a vector. The vector in each inner cell might be of different len...
casi 2 años hace | 1 respuesta | 0
1
respuestaPregunta
How to output a cell array as a table where the arrays contain vectors of different length?
I have a cell array C that is 3 x 10, with each element containing a vector of numbers of type double. Each vector is of a diffe...
casi 2 años hace | 2 respuestas | 0
2
respuestasPregunta
Working with cell arrays
I would like to separate columns in an array based on the unique values of the first column. I think the way to do this is a cel...
casi 2 años hace | 1 respuesta | 0
1
respuestaPregunta
How do I read each frame of a video?
For an .avi file, I can read in the file using video = VideoReader(filename) and then read the first frame using readFrame(video...
casi 2 años hace | 2 respuestas | 0
2
respuestasPregunta
Finding first value in an array equal to each number in a vector
I can find the first value in test_array that is equal to 2 using the following: find(test_array==2, 1, 'first') But how d...
casi 2 años hace | 1 respuesta | 0
1
respuestaPregunta
What is the previous syntax for this function?
I can combine strings using something like str = append("Hello","world") But I have access only to Matlab 2018a. The append fu...
casi 2 años hace | 1 respuesta | 0
1
respuestaPregunta
How to remove repeating entries from a vector?
How do you remove repeating entries in a vector? For example: A = [1 1 1 0 0 1 1 1 1 0 0 0 0 0] should return B = [ 1 0 1 0]....
casi 2 años hace | 1 respuesta | 0
1
respuestaPregunta
Vectorization problem for grouping entries in an array
The data below are grouped into three different subgroups based on the value of B(:,3). If, however, B(:,2) <= 1, how do I indic...
casi 2 años hace | 1 respuesta | 0
1
respuestaPregunta
How do you reshape an array to preserve the order in each row of the original array?
How do you reshape an array into a 1-dim column such that the first row of the original array is the first set of numbers in the...
casi 2 años hace | 1 respuesta | 0
1
respuestaPregunta
How do you set entries in a matrix for odd rows with odd columns to zero?
I want to set A(i,j) = 0 if both i and j are odd. Is this possible to do vectorially?
alrededor de 2 años hace | 1 respuesta | 0
1
respuestaPregunta
How do you make the diagonal and certain off-diagonal elements of a matrix zero?
I have a square matrix and would like to make the diagonal elements zero, as well as select elements that are off-diagonal. For ...
alrededor de 2 años hace | 2 respuestas | 0
2
respuestasPregunta
x values when taking a numerical derivative
I want to calculate the first derivative f(x) = dy/dx for data that is irregularly spaced in x. I think (correct me if I'm wrong...
alrededor de 2 años hace | 5 respuestas | 0
5
respuestasPregunta
Changing the position of a plot
How do you move everything in a figure (plot, axes, axis labels) up while preserving the aspect ratio of the plot? It seems I ca...
alrededor de 2 años hace | 1 respuesta | 0