Community Profile

photo

goc3


Last seen: 4 days ago

2,953 total contributions since 2014

Materials Scientist / Metallurgist / Mechanical Engineer

Contact

goc3's Badges

  • MATLAB Central Treasure Hunt Finisher
  • Cody 5th Anniversary Finisher
  • Cody 5th Anniversary Author
  • Knowledgeable Level 1
  • First Answer
  • Likeable
  • Community Group Solver
  • Introduction to MATLAB Master
  • First Review
  • Curator
  • Matrix Patterns II Master
  • Matrix Patterns III Master
  • Project Euler I
  • Matrix Manipulation II Master
  • Matrix Patterns I Master

View all

Contributions in
View by

Solved


Which permutation is it?
Let write some permutations of positive integers. 1: 1 2 3 4 5 6 ... 2: 2 1 3 4 ... 3: 1 3 2 4 ....

12 days ago

Solved


Get ranking of a combination looking for speed.
I have the numbers pulled without replacement from the set [1 2 3 4 5 6 7 8 9 10 11 12 13]; They are then ordered from least to...

13 days ago

Solved


Usage of java.math : N Choose K with unlimited precision
Calculate the binomial coefficient nchoosek with full accuracy. This challenge may use the wonderful word of java.math that allo...

13 days ago

Solved


NCHOOSEK - Time Optimization
*Input* * *V* —— Set of all choices, a vector of N, 1 < N < 100 * *K* —— Number of selected choices, a scalar, 0 <= K <=...

14 days ago

Solved


Create Combination
Motivation: In many problems, we need to create combinations with the function nchoosek. In some cases, however, choices are lim...

14 days ago

Solved


Next lexicographic - permutation
Find next lexicographic - permutation (permutations as it would occur in a dictionary order). E.g: nextP('ABCD') = ABDC If you...

14 days ago

Solved


Converts numbers into characters
Converts numbers into characters

14 days ago

Solved


Find the max element of the array
Find the max element of the array

14 days ago

Solved


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

14 days ago

Solved


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

14 days ago

Solved


to the 2 all elements
to the 2 all elements

14 days ago

Solved


the average value of the elements
Calculate the average value of the elements in the array

14 days ago

Solved


Double all elements in the array
Duplicate all elements in the array

14 days ago

Solved


calculate the length of matrix
input 1 array, calculate the length

14 days ago

Solved


Draw a '0' in a one matrix!

14 days ago

Solved


Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

14 days ago

Solved


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

14 days ago

Solved


Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

14 days ago

Solved


Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

14 days ago

Solved


Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...

19 days ago

Solved


Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

19 days ago

Solved


Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

20 days ago

Solved


Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.&#8519;^(-&lambda;t)*cos(2πft)| where |A|, |&lambda;|, and |f| ...

20 days ago

Solved


Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x&#8321;_ + _x&#8322;_ = 2 _x&#8321;...

20 days ago

Solved


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

20 days ago

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

20 days ago

Solved


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

20 days ago

Solved


Find Logic 19

20 days ago

Solved


Find Logic 18

20 days ago

Solved


Find Logic 17

20 days ago

Load more