Community Profile # Stacy Genovese

Last seen: 2 months ago Active since 2022

#### Statistics

• #### Content Feed

View by

Question

How to subtract only certain elements of a vector
If I have two vectors of the same length, is it possible to subtract only certain elements? a = [1 4 6 7; 3 4 5 6] b = [4 2 7 ...

2 months ago | 1 answer | 0

### 1

Question

Multiplying each cell in an array by a column vector
I have this code: p_m = ones(m,N) .* 1/m; for i = 1:N temp{i} = cellfun(@(x,y) x.*y, p_m(:,i),energy_self{i}(:), 'Uniform...

2 months ago | 1 answer | 0

### 1

Question

ODE solver vs discrete integration
I'm wondering if anyone can help me out. And my confusion may be because my understanding of the math is weak and not necessari...

3 months ago | 2 answers | 0

### 2

Question

Putting a legend on a fused image
I have the following code: figure() total_grid = imfuse(pB_grid, pA_grid, "falsecolor"); imshow(total_grid,'InitialMagnificat...

3 months ago | 1 answer | 0

### 1

Question

Can ode45 return two column vectors or a cell array?
I'm passing a cell array into ode45 for my initial conditions but the resulting cell array can't be returned from the function. ...

3 months ago | 1 answer | 0

### 1

Question

How to display a matrix of matrices?
I have the following code: grid = {[0;0] [0;0] [0;0];... [50;0] [0;0] [0;50]; [0;0] [0;0] [0;0]}; and I have no idea how ...

3 months ago | 1 answer | 0