Umur Ulas Harman - MATLAB Cody - MATLAB Central

Umur Ulas Harman

2950
Rank
9
Badges
1130
Score
1 – 50 of 112

Umur Ulas Harman submitted a Comment to Problem 71. Read a column of numbers and interpolate missing data

This is working still would be appreciated for enhancement. function t = read_and_interp(s) s=strtrim(s); row_num=numel(s); counter=1; for i=2:row_num splitted=strsplit(s{i}); temp1=splitted(1); temp2=splitted(2); r(counter)=str2double(temp1); r(counter+1)=str2double(temp2); counter=counter+2; end first_column=r(1:2:end) second_column=r(2:2:end) if find(second_column==9999)>=1 first_column(find(second_column==9999))=[]; missed=find(second_column==9999); second_column(find(second_column==9999))=[]; missed_value=interp1(first_column,second_column,missed) second_column=r(2:2:end); second_column(find(second_column==9999))=missed_value; t=second_column else t=second_column end

on 31 Jul 2020

Umur Ulas Harman received Community Group Solver badge for Basics - Triangles

on 12 Jul 2020

Umur Ulas Harman submitted a Comment to Solution 2682332

Test 1 is problematic. It does not accept the answer like 2.4000, 2.400, or 2.40. It expects exactly 2.4 which is the same. There is something wrong about test 1 format or something. Please update test 1.

on 12 Jul 2020

Umur Ulas Harman submitted a Comment to Problem 558. Is the Point in a Triangle?

The test has rounding problems.

on 12 Jul 2020

Umur Ulas Harman received CUP Challenge Master badge

on 10 Jul 2020

Umur Ulas Harman submitted a Comment to Solution 2673695

function A = isocelesArea(x,y) u=(2*x+y)/2; A = sqrt(u*(u-x)^2*(u-y)); end

on 9 Jul 2020

Umur Ulas Harman received Community Group Solver badge for Basics - Rounding

on 1 Jul 2020

Umur Ulas Harman submitted a Comment to Solution 2636512

function y = myroundn(x,n) y = round(x,n-1) end

on 30 Jun 2020

1 – 50 of 112
Go to top of page