Feeds
提问
Please suggest vectorization options for following code??
for Pos=3:1000 a_i_i(Pos:end,Pos)=a_sub(1:(end-Pos+2)); end
9 years 前 | 1 个回答 | 0
1
个回答提问
What is the alternative for function tril(n), which is executed without using loops??
%Assume n=50; q=tril(ones(n));
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 2 个回答 | 0
2
个回答提问
Help for vectorization??
incI=zeros(length(featInd),length(tempInd)); for f = 1:length(featInd) incI(f,:) = tempInd + featInd(f); en...
10 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
10 years 前 | 1 个回答 | 0
