photo

Daniel Neubauer


Last seen: circa 2 mesi fa Attivo dal 2022

Followers: 0   Following: 0

Statistica

  • Knowledgeable Level 1
  • First Answer
  • Thankful Level 2

Visualizza badge

Feeds

Visto da

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

oltre un anno fa | 0

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

oltre un anno fa | 1

| accettato

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

oltre un anno fa | 2

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

oltre un anno fa | 0

Domanda


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

oltre un anno fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta