photo

Agam Sharma


Last seen: 10 months 前 自 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 years 前 | 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 years 前 | 0