Community Profile

photo

Agam Sharma


Last seen: 6개월 전 2022년부터 활동

Followers: 0   Following: 0

통계

All
  • Introduction to MATLAB Master
  • First Answer
  • Community Group Solver
  • Solver
  • Commenter

배지 보기

Feeds

보기 기준

답변 있음
Help with Cody's 'Problem 672. Longest run of consecutive numbers', I wrote 'if a(i)==a(i+1)' and it says error
count=zeros(1,length(a)) for i=2:length(a) if(a(i)==a(i-1)) count(i)=count(i-1)+1 end end [m e]=max(count)...

거의 2년 전 | 0

답변 있음
Check if element in array are square of each other
function b = isItSquared(a) b=false; c=a.^2; %creating another array containing respective squares in 'a' for i=1:l...

거의 2년 전 | 0