Community Profile

photo

Noya Linder


Last seen: 2 months ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to vectorize function on vectors stored in 3D tensor
Hi everyone. I have a function that sums the 3rd dimension as presented here. This is the code: function sumeol = sum_over_li...

7 months ago | 1 answer | 0

1

answer

Question


vectorization in tensors, how to add vector and matrix
Hi, say I have a 3X4 matrix M and a 1X100 row vector V. I want to add them (M+V) to create a 3D tensor T of 100X3X4. Meaning, I ...

9 months ago | 1 answer | 0

1

answer

Question


How to properly compare tensors?
Hi! I have the following function: function toint = toint(p, r, R, dRdt, mu) c = 29979245800; %cm/s gamma = 1/sqrt(2*(1 - (dR...

9 months ago | 1 answer | 0

1

answer

Question


adding vector to matrix to create tensor
Hi. I have a 10176X10176 matrix and a 10176X1 vector that I want to add to the matrix in order to create a 10176X10176X10176 ten...

9 months ago | 1 answer | 0

1

answer

Question


How to multiply vectors not the same size to create 3d tensor?
Hi! I have a function that receives a few scalars along with a few vectors that calculates a certain value. I use the following ...

9 months ago | 1 answer | 0

1

answer

Answered
Why is my matrix a scalar?
Hi, the problem was I needed to convert my arrays to row vectors which I did by: R = R.'; T = T.'; I don't know if this was t...

10 months ago | 0

| accepted

Question


Why is my matrix a scalar?
Hi, so I've been trying to create a Z matrix to plot using "surf": Z = []; x = 0; for tt = T x = x+1; y = 0; f...

10 months ago | 1 answer | 0

1

answer

Question


How to solve for the derivative using ode solver
I have the following differential equation function dRdt = odefun(t,R) c = 29979245800; Estart = 10^52; ni = 10^(-2); mp = ...

10 months ago | 1 answer | 0

1

answer

Question


how can I condition my ode solver
I use an ode solver here [t, R] = ode78(@odefun, tspan, r0); but I don't want it to run until the final t, I want it to run un...

10 months ago | 1 answer | 0

1

answer

Question


Why do I get the error "too many output arguments"?
I call this function: function nvec = removeByGamma(tR) t = tR(1); R = tR(2); line = linespace(1, length(R), 1); for i = li...

10 months ago | 1 answer | 0

1

answer

Question


Why am I getting the error "not enough input arguments"?
I have this code. Even though I entered all 4 input arguments necessary, I'm still getting the error "not enough input arguments...

2 years ago | 2 answers | 0

2

answers