photo

Daniel Neubauer


Last seen: 6 Monate vor Aktiv seit 2022

Followers: 0   Following: 0

Statistik

  • Knowledgeable Level 1
  • First Answer
  • Thankful Level 2

Abzeichen anzeigen

Feeds

Anzeigen nach

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

etwa 2 Jahre vor | 0

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

etwa 2 Jahre vor | 1

| akzeptiert

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

etwa 2 Jahre vor | 2

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

etwa 2 Jahre vor | 0

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort