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
Statistics
RANK
1,395
of 302,276
REPUTATION
52
CONTRIBUTIONS
6 Questions
11 Answers
ANSWER ACCEPTANCE
83.33%
VOTES RECEIVED
17
RANK
of 21,664
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
33 Discussions
AVERAGE NO. OF LIKES
3
Feeds
Solved
Castling-03
Given the position of different chess pieces on the chessboard, figure out whether castling is valid or not in the next move (wh...
19 hours ago
Solved
Castling-02
This is a follow up of problem <https://www.mathworks.com/matlabcentral/cody/groups/1/problems/45329-castling-01> Given...
19 hours ago
Solved
Castling-01
Given the position of only one player's chess pieces(some of them) on the chessboard, figure out whether castling is valid or no...
19 hours ago
Solved
En passant - 01
This is white's turn. The player moves his pawn. The pawn's previous and current positions are given. Determine whether th...
20 hours ago
Solved
King's Cage
Given the position of the king on the chessboard, determine the minimum number of steps it'll require to reach the destination. ...
20 hours ago
Solved
Can the knight take out the pawn?
* position of knight = k * position of pawns = p can the knight take out those pawns? * k='Nf4' * p={'g6','g7'} then...
20 hours ago
Solved
Checkmate-02
This is an extension of the problem <https://www.mathworks.com/matlabcentral/cody/problems/45238-checkmate> If the king is in...
20 hours ago
Solved
Checkmate
* The positions of different chess pieces are given in a cell *p* . * The position of the king is given as *x* Determine i...
20 hours ago
Solved
Count the ways to draw non-intersecting chords between points on a circle
There are 9 ways to draw non-intersecting chords between four points on the perimeter of a circle (including no chords at all). ...
22 hours ago
Solved
Fill a rectangle with 1x1 and 2x2 tiles
A 3x2 rectangle can be filled with 1x1 and 2x2 tiles in three ways: The colors merely distinguish the sizes of the tiles. A 3...
22 hours ago
Solved
Easy Sequences 5: Project Euler Problem 1 - Again!
We are all familiar with Project Euler Problem 1. This time let's try it on bigger multiples and larger range. Find the sum of ...
23 hours ago
Solved
Easy Sequences 6: Coefficient sums of derivatives
Consider the polynomial function and its first-order derivative . The sums of the coefficients of P and P', are and , respecti...
24 hours ago
Solved
Easy Sequences 11: Factorial Digits without Trailing Zeros
Here is an easy one... It is not difficult to count the number of digits of the factorial of a given number. For example for 'n...
1 day ago
Solved
Easy Sequences 9: Faithful Pairs
A "faithful number" is a non-prime number that is one less or one more than some prime number but not both. For example, for num...
1 day ago
Solved
Easy Sequences 12: 50th Prime
Write a function that outputs the th prime after a given number . For example, the th prime after is . NOTE: If itself is pr...
1 day ago
Solved
Find all vampire fangs
A vampire number is a number v that is the product of two numbers x and y such that the following conditions are satisfied: at ...
5 days ago
Solved
Multivariate polynomials - sort monomials
In <https://www.mathworks.com/matlabcentral/cody/problems/44260-multidimensional-polynomials-convert-monomial-form-to-array Prob...
5 days ago
Solved
Multivariate polynomials - overload multiplication
Problems <https://www.mathworks.com/matlabcentral/cody/problems/44260-multivariate-polynomials-convert-monomial-form-to-array 44...
5 days ago
Solved
Multivariate polynomials - convert monomial form to array
In <https://www.mathworks.com/matlabcentral/cody/problems/44259-product-of-two-multidimensional-polynomials Problem 44259> I ask...
5 days ago
Solved
Product of two multivariate polynomials
MATLAB <https://www.mathworks.com/help/matlab/polynomials.html has a few functions> for creating and manipulating single-variabl...
5 days ago
Solved
Clockwise or Counterclockwise
Given a list of 2-d points defining the vertices of a polygon, determine whether these points are sorted clockwise. The input...
5 days ago
Solved
Spherical radius given four points
Determine the radius of a sphere provided four non-coplanar points on the surface of the sphere. pts = [x1 y1 z1; x...
5 days ago
Solved
Generate a Parasitic Number
This problem is the next step up from Problem 156. Rather than determining if an input is a parasitic number, you will be asked ...
5 days ago
Solved
Pandigital number n°3 (Inspired by Project Euler 32)
After Problem 2319 and 2320. An n-digit number is pandigital if it makes use of all the digits 1 to n exactly ONCE. For examp...
5 days ago
Solved
Apply Function to Each Field of a Structure Array: Part 2
The builtin <http://www.mathworks.com/help/matlab/ref/structfun.html?=structfun structfun> applies a function handle to each fie...
5 days ago
Solved
Apply Function to Each Field of a Structure Array: Part 1
The builtin <http://www.mathworks.com/help/matlab/ref/structfun.html?=structfun structfun> applies a function handle to each fie...
5 days ago
Solved
Function composition - harder
Write a function that accepts an arbitrary number of function handles f_1, f_2, ..., f_n and returns the composition h. That is,...
5 days ago
Solved
Flexible Anonymous Function
Given a function handle, return a handle to a function that would accept an arbitrary number of inputs, applies the function to ...
5 days ago
Solved
Handle to an array of functions
Given a cell array of functions that operate on scalars, it is required to return a function handle to process a vector of value...
5 days ago
Solved
Make an anonymous function that has variable output
Make a anonymous function that has variable output. f = @(x)... the following equation→equation(s) as followed has(ve) ...
5 days ago











