Esegboria Osarhemen
Followers: 0 Following: 0
Statistics
11 Questions
0 Answers
RANK
25,793
of 295,467
REPUTATION
1
CONTRIBUTIONS
11 Questions
0 Answers
ANSWER ACCEPTANCE
72.73%
VOTES RECEIVED
1
RANK
of 20,234
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153,912
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
code for conditional statement
If I have a = [1:5], b = [1:5], c =[1:5], d =[1:5], e = zeros(1,4); How can I write a code for the following condition? I wa...
5 years ago | 1 answer | 0
1
answerQuestion
Vectorized operation of sparse matrix
I have the following code a = randi(903,10293,1800); c = cell(1,10293); for n = 1:10293 b = a(n,:); i = b(1...
5 years ago | 1 answer | 0
1
answerQuestion
Efficient sparse matrix operation
I have a 900 x 900 sparse matrix 'S' which contains alot of zeros, when i perform the following operation S./sum(S,2) It tak...
5 years ago | 1 answer | 0
1
answerQuestion
summing element is a cell
I have a 1x50 cell 'c', where each element in the cell is a nxn matrix, how can I sum all 50 matrices (c{1}+c{2}+c{3}+.....c{50}...
5 years ago | 1 answer | 0
1
answerQuestion
Summing matrices without loop
I have a this function function mat(i) which generates an nxn matrix for a value of i. There are 10000 possible values of ...
5 years ago | 1 answer | 0
1
answerQuestion
presenting result in a table
How can I create a matrix/table like the one in the attached photo using the given data
5 years ago | 1 answer | 0
1
answerQuestion
removing duplicates in an array
If i have the following array a =[1,1,1,2,2,1,1,6,6,6,8,8,2,2,3,3,2,2] When i do unique(a,'stable'), i get [1,2,6,8,3] ...
5 years ago | 2 answers | 1
2
answersQuestion
How can I make this code run faster with a sparse matrix
Assuming I have the following code x=[1:30164675] y=x N=length(x) z=sparse(N,N) for i=1:N for j=1:N if x(i)...
5 years ago | 1 answer | 0
1
answerQuestion
Sum columns of matrix
If I have a 3x6 matrix like this 1 5 2 4 3 2 2 3 1 4 4 1 4 5 2 2 3 ...
6 years ago | 1 answer | 0
1
answerQuestion
Removing zero columns from matrix
This is my code: N=3; x=randi(9,3,N) func = @(index)bsxfun(@minus,x(:,1:N),x(:,index)); mat = cell2mat(arrayfun(func,1:N,'u...
6 years ago | 1 answer | 0
1
answerQuestion
How to vectorize double sum
Please how can i vectorize this double sum N=4 x=randn(3,N); for i=1:N-1 for j=2:N if j>i a=x(:,...
6 years ago | 1 answer | 0