Community Profile

photo

Stacy Genovese


Last seen: 1 year ago Active since 2022

Statistics

  • Thankful Level 3

View badges

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 years ago | 1 answer | 0

1

answer

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 years ago | 1 answer | 0

1

answer

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...

2 years ago | 2 answers | 0

2

answers

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...

2 years ago | 1 answer | 0

1

answer

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. ...

2 years ago | 1 answer | 0

1

answer

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 ...

2 years ago | 1 answer | 0

1

answer

Question


Is it possible to make a meshgrid wraparound
Is there a way to make a mesgrid and have the edges wraparound? Thanks

2 years ago | 1 answer | 0

1

answer