Python, C++, C, Java, C#, Javascript, R, MATLAB, SQL, HTML, CSS, Arduino, Shell, Assembly, VHDL, Visual Basic
Spoken Languages:
English
Pronouns:
He/him
Statistics
0 Questions
754 Answers
2 Files
Cody0 Problems
655 Solutions
RANK
114
of 301,370
REPUTATION
1,142
CONTRIBUTIONS
0 Questions
754 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
120
RANK
19,427 of 21,243
REPUTATION
1
AVERAGE RATING
0.00
CONTRIBUTIONS
2 Files
DOWNLOADS
2
ALL TIME DOWNLOADS
10
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
1 Discussion
AVERAGE NO. OF LIKES
0
Feeds
Solved
Find the stride of the longest skip sequence
We define a _skip sequence_ as a regularly-spaced list of integers such as might be generated by MATLAB's <http://www.mathworks....
8 hours ago
Solved
Sum the Infinite Series
Given that 0 < x and x < 2*pi where x is in radians, write a function [c,s] = infinite_series(x); that returns with the...
9 hours ago
Solved
Sum of first n terms of a harmonic progression
Given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1+d), a/(1+2d), a/(1+3d),....
16 hours ago
Solved
"Look and say" sequence
What's the next number in this sequence? * [0] * [1 0] * [1 1 1 0] * [3 1 1 0] * [1 3 2 1 1 0] This a variant on the w...
16 hours ago
Solved
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
Given a number _n_, return the terminal value of the number chain formed by summing the square of the digits. According to the P...
16 hours ago
Solved
Integer sequence - 2 : Kolakoski sequence
Get the n-th term of Kolakoski Sequence.
16 hours ago
Solved
Golomb's self-describing sequence (based on Euler 341)
The Golomb's self-describing sequence {G(n)} is the only nondecreasing sequence of natural numbers such that n appears exactly G...
17 hours ago
Solved
Projector Matrix
Write a function to determine whether or not the matrix is a projector. Projector matrices are defined as P^2 = P.
1 day ago
Solved
Orthonormal matrix
You decide whether any given matrix is an orthonormal matrix or not. If each column in a matrix is perpendicular to the other...
1 day ago
Solved
Is this matrix orthogonal?
Given a square matrix, a, determine whether it is orthogonal. INPUT: a, a n x n matrix OUTPUT: true or false
1 day ago
Solved
Determine if input is a valid AHP evaluation matrix
Input is a matrix. Output is a true or false statement (1 or 0). Return true if input is a valid Analytic Hierarchy Process eval...
1 day ago
Solved
Outer product of multiple vectors
In tensor algebra, it is often useful to define a tensor as a product of lower order tensors. Similarly, a multidimensional arra...
1 day ago
Solved
Combined Ages 4 - Non-symmetric with multiples, n ≥ 3
This problem is slightly more difficult than <http://www.mathworks.com/matlabcentral/cody/problems/42383-combined-ages-3-non-sym...
1 day ago
Solved
Combined Ages 3 - Non-symmetric, n ≥ 3
Pursuant to the previous two problems ( <http://www.mathworks.com/matlabcentral/cody/problems/42382-combined-ages-1-symmetric-n-...
1 day ago
code improvement/optimization
Hi @Cesar, Good progress overall — moving to Radau IIA and SDIRK was the right call. Robertson is a stiff problem and implic...
3 days ago | 0
matlab/simulink+tensorflow problem
Hi @Sato, This one's actually more of a MATLAB-Python environment issue than a TensorFlow problem, even though the error make...
5 days ago | 0
Can System Composer read parameters directly from JSON or XML?
Hey @Erica, Great question — I've been down this rabbit hole before with System Composer, so hopefully I can save you some time...
5 days ago | 1
Flexibility in Satellite Toolbox
Hi @Kevin, On the rectangular FOV front — you're right, it's not there. The toolbox only ships with ConicalSensor, which uses...
11 days ago | 0
Solved
Great Circle Distance
Find shortest between two points on a ball given their azimuthal and polar angles (in degrees) as well as the radius of the sphe...
12 days ago
Solved
Smallest distance between a point and a rectangle
Given two points *x* and *y* placed at opposite corners of a rectangle, find the minimal euclidean distance between another poin...
13 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...
13 days ago
Solved
Are you in or are you out?
Given vertices specified by the vectors xv and yv, and a single point specified by the numbers X and Y, return "true" if the poi...
13 days ago
Solved
Circumscribed circles
Given the lengths of the 3 sides of a triangle, output the radius of the circumscribed circle. Example: [3 4 5] -> 2.5
13 days ago
Solved
Similar Triangles - find the height of the tree
Given the height, h1, of a power pole, shorter than a tree, a given distance, x2 away, please find h2, height of the tree. Pleas...
13 days ago
Solved
Angle between two vectors
You have two vectors , determine the angle between these two vectors For example: u = [0 0 1]; v = [1 0 0]; The a...
13 days ago
Solved
Clock Hand Angle 1
Given a time in HH:MM:SS, find the smallest angle (in degrees) between the hour and minute hand
13 days ago
Solved
Covering area
As an extension of the problem <http://www.mathworks.com/matlabcentral/cody/problems/416-polygon-area>, find the area, bounded b...
13 days ago
Solved
What is the distance from point P(x,y) to the line Ax + By + C = 0?
Given a point, P(x,y), find the distance from this point to a linear line. INPUTS: x, y, A, B, C OUTPUTS: d, the distance ...
13 days ago
Solved
Is the Point in a Circle?
Check whether a point or multiple points is/are in a circle centered at point (x0, y0) with radius r. Points = [x, y]; c...
13 days ago











