photo

Daniel Neubauer


Last seen: 約2ヶ月 前 2022 年からアクティブ

Followers: 0   Following: 0

統計

  • Knowledgeable Level 1
  • First Answer
  • Thankful Level 2

バッジを表示

Feeds

表示方法

回答済み
Index an array using specific indices
x=[1 0 1 1 0 0 0 0 1 0]; s=[9 4 6]; snew=s(x(s)==1)

1年以上 前 | 0

回答済み
Triangle Interpolation: Find Exact Value
your 2D-triangle with temperature can be treated as a 3d plane defined by the three points in [x y z] such as vertex=[x y t] t...

1年以上 前 | 1

| 採用済み

回答済み
summation of products of matrices
take a look at Z = pagemtimes(X,Y) is that what you need? p=3; m=4; i=5; E=ones(p,p,i); A=rand(p,m,i); Sum=sum(pagemtime...

1年以上 前 | 2

回答済み
Replace Row in a Matrix with an Vector
M=magic(5) r=[0 0 0 0 0] M_new=[M(1:end-1,:);r]

1年以上 前 | 0

質問


when doing A(B)=C, get average C values if index is used >1 times
say I have matrices A = [0 0 0] B=[1 1 2 3] C=[10 20 30 40] conventionally when doing A(B)=C I get A = [20 30 40] So by ...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


get p*(q*m) matrix from m*n matrix and p*q indexing matrix
hey everyone, is there an elegant way to get the following: C=rand(8,n) %given index=[... 1 5 1 2 3 4 2 6 2 3 4 1 ...

2年弱 前 | 1 件の回答 | 0

1

回答

質問


get elements at x from array A without loop
so, i have an array A=(1,2,3,4,5,6,7,8,9) and another array containing indexes B=(1,1,3,6,7,5,4). How to get a third one based o...

2年弱 前 | 1 件の回答 | 0

1

回答