![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/25686489_1645600296046_DEF.jpg)
Noya Linder
Followers: 0 Following: 0
Feeds
質問
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ヶ月 前 | 2 件の回答 | 0
2
回答質問
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ヶ月 前 | 1 件の回答 | 0
1
回答質問
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 ...
約1年 前 | 1 件の回答 | 0
1
回答質問
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...
約1年 前 | 1 件の回答 | 0
1
回答質問
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...
約1年 前 | 1 件の回答 | 0
1
回答質問
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 ...
約1年 前 | 1 件の回答 | 0
1
回答回答済み
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...
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...
約1年 前 | 0
| 採用済み
質問
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...
約1年 前 | 1 件の回答 | 0
1
回答質問
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 = ...
約1年 前 | 1 件の回答 | 0
1
回答質問
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...
約1年 前 | 1 件の回答 | 0
1
回答質問
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...
約1年 前 | 1 件の回答 | 0
1
回答質問
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年 前 | 2 件の回答 | 0