Community Profile

photo

Zheng Chen


3 total contributions since 2017

Contributions in
View by

Question


Any way for matlab to sum an array/matrix rows according to specified bins NOT by "for" iteration? Best if there is buildin function for this
For example, if A = [7,8,1,1,2,2,2]; % the bins B = [2,1,1,1,1,1,2]; % the array then the desired function "binsum" h...

más de 3 años ago | 1 answer | 0

1

answer

Question


Adding a row vector to multiple rows of a matrix, with duplicate row index
Suppose we have a matrix A = [1,2;3,4;5,6] 1 2 3 4 5 6 I know that matlab allows adding vector to mult...

más de 3 años ago | 2 answers | 0

2

answers

Question


Call "log" functions from c# through COM failed with exceptions.
I am simply testing executing matlab functions through C# by the following, var matlab = new MLApp.MLApp(); var n = new in...

más de 3 años ago | 1 answer | 0

1

answer