Community Profile

photo

Parag Patil


Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Please suggest vectorization options for following code??
for Pos=3:1000 a_i_i(Pos:end,Pos)=a_sub(1:(end-Pos+2)); end

7 years ago | 1 answer | 0

1

answer

Question


What is the alternative for function tril(n), which is executed without using loops??
%Assume n=50; q=tril(ones(n));

7 years ago | 1 answer | 0

1

answer

Question


How to remove the for loop?
w=[1 -0.75 -0.09375 -0.0390625 -0.021972656 -0.014282227 -0.010116577 -0.007587433 -0.005927682 -0.004775077 -0.003939439 -0.0...

8 years ago | 2 answers | 0

2

answers

Question


Help for vectorization??
incI=zeros(length(featInd),length(tempInd)); for f = 1:length(featInd) incI(f,:) = tempInd + featInd(f); en...

8 years ago | 1 answer | 0

1

answer

Question


Hi, I am trying to vectorize following for loop. Need some help??
accumulator=zeros(numThetas,numRhos); accx_n=zeros(numEdgePixels,numThetas); for j=1:numThetas ...

8 years ago | 1 answer | 0

1

answer