Community Profile

photo

Emily Iniguez


Last seen: 1 year ago Active since 2020

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


I was wondering if this code could be vectorized, and if so, can it be done without conditionals or loops? It would be great if the vectorized form could be written out so that I could run and follow
height = 666; tri = ones(height); start= length(tri) + 1; for column = 1:length(tri) tri(start:end, column)=0; if...

4 years ago | 2 answers | 0

2

answers