photo

Noya Linder


Last seen: 19 giorni fa Attivo dal 2022

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


triple nested integral with error "Arrays have incompatible sizes for this operation."
Hi! I have a code in which there are three integrals, nested inside one another. These are the functions: function integral_z =...

3 mesi fa | 2 risposte | 0

2

risposte

Domanda


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

10 mesi fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

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

circa un anno fa | 0

| accettato

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa un anno fa | 1 risposta | 0

1

risposta

Domanda


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

circa 2 anni fa | 2 risposte | 0

2

risposte