photo

ricardo gunawan


Active since 2013

Followers: 0   Following: 0

Message

fjasl

Statistics

All
  • Thankful Level 1
  • Commenter
  • Solver

View badges

Feeds

View by

Question


Problem 9. Who Has the Most Change?
function b = most_change(a) a(:,1)=a(:,1)*0.25; a(:,2)=a(:,2)*0.1; a(:,3)=a(:,3)*0.05; a(:,4)=a(:,4)*0.01; d=sum(a,2); c...

11 years ago | 0 answers | 0

0

answers

Question


Problem 32. Most nonzero elements in row
function r = fullest_row(a) x=sum(a==0); y=max(x); row=0; for i=1:length(x) if x(i)==y row=i; end r=...

11 years ago | 2 answers | 0

2

answers

Question


Problem 106. Weighted average
function y = weighted_average(x,w) f=x.*y; f=sum(f); y=f/length(x); end is there any error. i submit and get WA...

11 years ago | 2 answers | 0

2

answers

Question


Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
i don't know what wrong with my code its very frustating really ( ̄へ ̄) here my code: function y = cleanUp(x) u=find...

11 years ago | 1 answer | 0

1

answer

Question


Problem 7. Column Removal
I don't know why my answer is wrong but please tell me.. function B = column_removal(A,n) A=A(:,[1:n-1 n+1:end]); hah...

11 years ago | 2 answers | 0

2

answers