goc3
Member of the Community Advisory Board since its inception | MATLAB enthusiast | Code optimizer | Software tester | Materials scientist / mechanical engineer by degree and licensure | Favorite element: rhenium
MATLAB, HTML, CSS
Spoken Languages:
English
Professional Interests:
App Building, Data Analysis, Material Sciences, Statistics, Mechanical Engineering
Statistik
RANG
1.395
of 302.196
REPUTATION
52
BEITRÄGE
6 Fragen
11 Antworten
ANTWORTZUSTIMMUNG
83.33%
ERHALTENE STIMMEN
17
RANG
of 21.625
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
33 Discussions
DURCHSCHNITTLICHE ANZAHL DER LIKES
3
Feeds
Gelöst
Jump Search - 01
Find the number of leaps you need to take to find an element in an array using the jump search algorithm. For example, a=[ 2,...
ein Tag vor
Gelöst
How lucky r u ?
Find the nth number in the following sequence <https://oeis.org/A264940>
ein Tag vor
Gelöst
Last Duplicate
Given an array of integers, find the last duplicate element — that is, the element whose second occurrence appears latest in the...
ein Tag vor
Gelöst
ZigZag - 04
Given a matrix, print all its elements in the spiral form (clockwise direction). For example, a=[16 2 3 13 ...
ein Tag vor
Gelöst
Chain multiplication - 03
Following up the problem in 55305, you found the minimum number of multiplications needed to multiply a chain of matrices. In ...
ein Tag vor
Gelöst
Ugly numbers - 01
Ugly numbers are those whose prime factors are 2, 3 or 5. find the nth ugly number.
ein Tag vor
Gelöst
Count alternating permutations
In an alternating permutation of numbers 1 to n, the numbers are arranged so that they alternately increase and decrease. For ex...
ein Tag vor
Gelöst
The Tortoise and the Hare - 01
Suppose in an infinitely long line, the hare is standing in position 0. From that place, it can jump either in the +ve direct...
ein Tag vor
Gelöst
Measure the hydraulic conductivity with a falling-head permeameter
A falling-head permeameter is another device for measuring the hydraulic conductivity of a soil sample. In this problem the sam...
ein Tag vor
Gelöst
Find the circle inscribed in a triangle
Write a function that takes the x- and y-coordinates of three points describing the vertices of a triangle and returns the cente...
ein Tag vor
Gelöst
Compute the perimeter of an ellipse
While the area of an ellipse is straightforward to compute, the perimeter (or circumference) is more complicated. The perimeter ...
ein Tag vor
Gelöst
List mean-of-2 primes
The prime number 53 is the average of the first prime before it (47) and the first prime after it (59), and the prime number 11 ...
ein Tag vor
Gelöst
chess position
given the position of a chess piece in algebric notation, convert it into 8 by 8 matrix format. For example, * 'Qd5' >> [3,4]...
ein Tag vor
Gelöst
Yoonir - 02
Find the area of a six-pointed star inscribed in a circle of radius r.
ein Tag vor
Gelöst
Determine whether one vector is a subset of another
While bumbling through a pair of problems in the Number Theory group, I wrote code to determine whether a vector is a subset of ...
ein Tag vor
Gelöst
Tell your secret
A secret can be told only to 2 persons in 5 minutes. Now, these 2 more persons can spread the secret to 4 other people in the ne...
ein Tag vor
Gelöst
Two functions (to be sure)
I want to compute the number of odd/even numbers in an array. But I want the results by two different functions. Example: ...
ein Tag vor
Gelöst
Area-03
There are two circles of equal size are inscribed inside a square. They are tangent to each other. <https://serving.photos.ph...
ein Tag vor
Gelöst
Moving average
A moving average function that returns an array that is equal in length to the input arrays (which can be row or column) A va...
ein Tag vor
Gelöst
Nth Order Polynomial Regression
Inputs: -two vectors x and y (row or column) -order of polynomial, p Outputs: -vector of coefficients [b0 b...
ein Tag vor
Gelöst
GJam 2014 China Rd A: Library Sorting (Large)
This Challenge is derived from <http://code.google.com/codejam/contest/2924486/dashboard#s=p2 GJam 2014 China Sorting>. Subset ...
ein Tag vor
Gelöst
Move Array Element by Offset with Optional Ring Mode
Move Element by Offset Write a function moveab(x, A, B, option) that moves the element at index A in array x by B positions. P...
2 Tage vor
Gelöst
GJam 2017 Kickstart: Parentheses (Large)
This Challenge is derived from <http://code.google.com/codejam/contest/6304486/dashboard#s=p2 GJam 2017 Kickstart Parentheses>. ...
2 Tage vor
Gelöst
How to reverse spdiags?
The spdiags function extracts all nonzero diagonals from the m-by-n matrix A. So if A=[1 2 3;4 5 6;7 8 9], spdiags(A)=[7 4...
2 Tage vor
Gelöst
Pancake sorting - minimum flips.
Sort a stack of pancakes by flipping them using spatula. There are N pancakes with diameters 1:N. Spatula can be inserted anyw...
2 Tage vor
Gelöst
Pancake sorting
Sort a stack of pancakes by flipping them using spatula. * There are _N_ pancakes with diameters _1:N_. * Spatula can be ins...
2 Tage vor
Gelöst
Rearrange the given matrix to have all its zeros climb up to the top of each column - using for loops.
Given a matrix x, *using loops only* return a matrix y, in which all the zeros have "climbed" up to the top. That is, any zeros ...
3 Tage vor
Gelöst
Given a matrix A (size m x n) create a matrix B which consists of matrix A sorted in descending order by columns and then by rows.
--------------- A= [ 2 6 -3 7 12 0 -12 5 1] --------------- B= [12 7 1 6 2 0 5 -3 ...
3 Tage vor
Gelöst
feeling VERY lucky?
Just like Matthew's problem 2793 and Edward's problem 2872 (guess the number that Cody is thinking) but now you must solve it in...
3 Tage vor











