Diogo Carvalho - MATLAB Cody - MATLAB Central

Diogo Carvalho

6570
Rank
3
Badges
988
Score
51 – 99 of 99

Diogo Carvalho submitted a Comment to Problem 413. Back to basics 23 - Triangular matrix

Running this on octave returns the correct results yet the page still says I'm wrong. function y = triangMatrix(x) for i=1:rows(x); for j=1:columns(x); if j>i; x(i,j)=0; else endif endfor endfor disp(x) endfunction

on 14 Feb 2019

Diogo Carvalho received Solver badge for Solution 1722155

on 6 Feb 2019

51 – 99 of 99
Go to top of page