photo

reza aghaee


Last seen: etwa 2 Monate vor Aktiv seit 2020

Followers: 0   Following: 0

Statistik

All
  • Solver
  • Thankful Level 2
  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


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

mehr als ein Jahr vor

Frage


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

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 2 Antworten | 0

2

Antworten