Bugrahan Atar
30032
30032
Rank2
2
Badges148
148
Score
Bugrahan Atar submitted Solution 4880009 to Problem 23. Finding Perfect Squares on 20 Feb 2021 |
Bugrahan Atar submitted a Comment to Problem 62. Elapsed Time function elapsed= elapsed_time(d1,d2)
d1='2010/12/14 12:00:00'
d2='2010/12/15 13:06:36'
a=(str2num(d2(1:4))-str2num(d1(1:4)))*8760;
b=(str2num(d2(6:7))-str2num(d1(6:7)))*720;
c=(str2num(d2(9:10))-str2num(d1(9:10)))*24;
e=str2num(d2(12:13))-str2num(d1(12:13));
f=(str2num(d2(15:16))-str2num(d1(15:16)))/60;
g=(str2num(d2(18:19))-str2num(d1(18:19)))/3600;
elapsed=a+b+c+e+f+g
end
it told me that solution is wrong?
on 9 Feb 2021 |
Bugrahan Atar submitted Solution 4539158 to Problem 20. Summing digits on 4 Jan 2021 |
Bugrahan Atar received Commenter badge for Problem 247. Arrange Vector in descending order on 2 Jan 2021 |
Bugrahan Atar submitted a Comment to Problem 247. Arrange Vector in descending order I do not understand what is wrong with the solution?
I solved question with my algorithm
function y=desSort(x)
x=input(' give me input to obtain descending order of input')
y = zeros(size(x));
indis=0;
for j=1:length(x)
maksimum=x(j);
for i=1:length(x)
if x(i)>maksimum
maksimum=x(i);
a=i;
end
end
x(a)= 0
y(j)=maksimum
end
end
on 2 Jan 2021 |
Bugrahan Atar submitted Solution 4346110 to Problem 12. Fibonacci sequence on 18 Dec 2020 |
Bugrahan Atar submitted Solution 4330640 to Problem 10. Determine whether a vector is monotonically increasing on 17 Dec 2020 |
Bugrahan Atar submitted Solution 4330465 to Problem 19. Swap the first and last columns on 17 Dec 2020 |
Bugrahan Atar submitted Solution 4320170 to Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN on 16 Dec 2020 |
Bugrahan Atar submitted Solution 4320160 to Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN on 16 Dec 2020 |
Bugrahan Atar submitted Solution 4304110 to Problem 6. Select every other element of a vector on 15 Dec 2020 |
Bugrahan Atar submitted Solution 4304090 to Problem 6. Select every other element of a vector on 15 Dec 2020 |
Bugrahan Atar submitted Solution 4303900 to Problem 26. Determine if input is odd on 15 Dec 2020 |
Bugrahan Atar submitted Solution 4303740 to Problem 8. Add two numbers on 15 Dec 2020 |
Bugrahan Atar submitted Solution 4267440 to Problem 3. Find the sum of all the numbers of the input vector on 14 Dec 2020 |
Bugrahan Atar submitted Solution 4266630 to Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10] on 14 Dec 2020 |
Bugrahan Atar received Solver badge for Solution 4266595 on 14 Dec 2020 |
Bugrahan Atar submitted Solution 4266595 to Problem 1. Times 2 - START HERE on 14 Dec 2020 |