Programming Languages:
MATLAB
Spoken Languages:
English, Italian
MATLAB
Spoken Languages:
English, Italian
統計
All
Feeds
解決済み
Index one element in each vector of an array along a given dimension
Functions like min and max can return in their second output argument the index of the element in each vector along a particular...
6日 前
解決済み
Finding neighbors of [-1:1] in a matrix....
Hello All! Well I found this one fun to figure out, all you have to do is make a matrix of 1's or 0's (true or false) that sh...
6日 前
解決済み
Index of a Rational number
The set of real numbers are infinite. They are so many that real numbers can't even be enumerated. However, unlike real numbers ...
6日 前
解決済み
Three...is a magic number.
Yes it is... It's a magic number... To help you get rid of that earworm, here's a new Cody problem. You are given a squar...
7日 前
解決済み
Polynomial division
Divide a polynomial u by polynomial v and return the quotients only. Example: u = x^4+3*x^3+5*x+3 v = x^2+1 Answer: ...
8日 前
解決済み
Periodic Table II 101.
Given the symbol of an element, return its atomic number. This is the continuation of <http://www.mathworks.com/matlabcentral/co...
8日 前
解決済み
Change the sign
Given a matrix x, return one with each diagonal element replaced by its absolute value and the largest element in absolute value...
8日 前
解決済み
Periodic Table 101.
Given the atomic number (z), answer the symbol for that particular element of the <http://en.wikipedia.org/wiki/Periodic_table/ ...
8日 前
解決済み
GJam: 2013 China Event: Cannon Angle
This Challenge is derived from <http://code.google.com/codejam/contest/2933486/dashboard#s=p1 GJam 2013 China Captain Hammer>. T...
8日 前
解決済み
Make a diamond
Given n, odd number > 1, return n by n matrix consist of "null" and "*" characters arranged like a diamond. No toolbox funct...
9日 前
解決済み
Tent matrix
Create an n x n matrix that resembles one kind of tent. The variable n is provided to the function and will be an odd number. As...
9日 前
解決済み
Union Jack Matrix
Create a matrix of odd dimensions that has ones on both diagonals and dividing the matrix into 4 quadrants, resembling a square ...
9日 前
解決済み
create a square matrix
create a [n*n] matrix. example: mat(4)= [ 1 4 9 16 4 4 9 16 9 9 ...
9日 前
解決済み
Generate the sum of Squares of the given number
|P(n) = 1^2 + 2^2 + ... + n^2| |P(1) = 1| |P(2) = 1 + 4 = 5;| |P(3) = 5 + 9 = 14;| |P(4) = 14 + 16 = 30;|
9日 前
解決済み
Find the jerk
No, it's not the author of this problem... Jerk is the rate of change in acceleration over time of an object. So, if given t...
26日 前
解決済み
Bernoulli's Equation
Bernoulli's equation states that for an incompressible fluid the following summation is constant across the flow: v^2/2 + g*z + ...
26日 前
解決済み
center of mass
R is a given matrix with size [n,2]. R(i,:) is interpreted as the 2D-position of a mass point with mass i. Calculate the center ...
26日 前
解決済み
Point on a line
Find the slope of the straight line between the points a and b. Then find y at x=20.
26日 前
解決済み
Kepler's Equation
Solve <http://en.wikipedia.org/wiki/Kepler's_equation Kepler's Equation>. Note that the solution is rounded down to 5 decima...
26日 前
解決済み
Determine if a four bar mechanism is of Grashof type
A four bar mechanism is composed of four links. if s is the smallest link, l the longest and p,q are the length of the other lin...
26日 前
解決済み
Write a string
The answer should be a string that is the value: "I like apples!" (Ignore the quotation marks, just write what is inside the ...
26日 前
解決済み
X-intercepts of a quadratic.
Find the y value of the quadratic of the function at a point x.
26日 前
解決済み
5-year Annedversaries
In a rare moment of wisdom, Lord Ned realized that he should reward his advisors for their years of service to Nedland. It also ...
27日 前











