photo

reza aghaee


Last seen: 1 month ago Active since 2020

Followers: 0   Following: 0

Statistics

All
  • Solver
  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

1 year ago

Question


Counting the number of the unique value in each row of a matrix without using for loop
M = randi(21,[1000000,9]); counter = zeros(size(A,1),1); for j = 1 : size(A,1) a = unique(Mat(j,:)); counter(j) ...

4 years ago | 1 answer | 0

1

answer

Question


create datatip on a surface
a = 0 : 0.1 : 1; b = 0 : 0.1 : 1; [bb,aa] = meshgrid(b,a); Acc = aa.^2 - bb.^2; ss = surf(aa,bb,Acc); c = a(2)^2 - b(4).^2;...

4 years ago | 1 answer | 0

1

answer

Question


runtime of sparse matrix components allocation
Nobs = 20000; K = 20; tic H = sparse([],[],[],Nobs,Nobs,4*K*Nobs); for j = 1 : Nobs jj = randi(Nobs,1,K); H(j,...

4 years ago | 1 answer | 0

1

answer

Question


Time of sparse matrix components allocation
Nobs = 20000; K = 20; tic H = sparse([],[],[],Nobs,Nobs,4*K*Nobs); for j = 1 : Nobs jj = randi(Nobs,1,K); H(j,jj) ...

4 years ago | 2 answers | 0

2

answers