Problem


sinus function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

mehr als 13 Jahre vor | 1 | 209 Lösungsvorschläge

Problem


frame of the matrix
Given the matrix M, return M without the external frame.

mehr als 13 Jahre vor | 8 | 939 Lösungsvorschläge

Problem


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

mehr als 13 Jahre vor | 7 | 755 Lösungsvorschläge

Problem


only input
Return the output without writing any code into the function.

mehr als 13 Jahre vor | 5 | 767 Lösungsvorschläge

Gelöst


only input
Return the output without writing any code into the function.

mehr als 13 Jahre vor

Problem


Find the function 2
Given a set of point (x,y) and the coordinate x of a new point, find the y value of new point. Test Suite is based on only one ...

mehr als 13 Jahre vor | 0 | 19 Lösungsvorschläge

Gelöst


Find the function 2
Given a set of point (x,y) and the coordinate x of a new point, find the y value of new point. Test Suite is based on only one ...

mehr als 13 Jahre vor

Gelöst


random binary sequence using matlab
Hi..am new to matlab..help me out in generating a binary sequence using matlab.

mehr als 13 Jahre vor

Gelöst


Find the function
Given a set of point (x,y) and the coordinate x of a new point, find the y value of new point.

mehr als 13 Jahre vor

Problem


Find the function
Given a set of point (x,y) and the coordinate x of a new point, find the y value of new point.

mehr als 13 Jahre vor | 0 | 29 Lösungsvorschläge

Gelöst


Continued fractions
Find a <http://en.wikipedia.org/wiki/Continued_fraction continued fraction> approximation of x.

mehr als 13 Jahre vor

Gelöst


Choose the best fitting dominoes
You will be given a cell array of nx2 matrices. Choose one row from each matrix. These are the ordered pairs that will be plac...

mehr als 13 Jahre vor

Gelöst


Find best domino orientation
Given a list of pairs, find the orientation they should be placed in a line, such that the sum of the absolute values of the dif...

mehr als 13 Jahre vor

Gelöst


Scoring for oriented dominoes
Given a list of ordered pairs, and the order they should be placed in a line, find the sum of the absolute values of the differe...

mehr als 13 Jahre vor

Gelöst


Number of lattice points within a circle
Find the number of points (x,y) in square lattice with x^2 + y^2 =< n. This is related to Jame's <http://www.mathworks.com/matla...

mehr als 13 Jahre vor

Gelöst


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

mehr als 13 Jahre vor

Gelöst


Is it an Armstrong number?
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...

mehr als 13 Jahre vor

Gelöst


Generate a NaN...on purpose
The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...

mehr als 13 Jahre vor

Gelöst


Convert a cell-array of values to MATLAB source code
The MATLAB interpreter loads your code and executes it using the Read-Evaluate-Print-Loop (see <http://en.wikipedia.org/wiki/REP...

mehr als 13 Jahre vor

Gelöst


A (wrong) place for everything, and everything in its (wrong) place
You have an equal number of cups and balls, each labelled from one to N. You randomly place one ball in each cup. Determine th...

mehr als 13 Jahre vor

Gelöst


Count letters occurence in text, specific to words with a given length.
Build a function with two input arguments: a string and a word length (number of letters), that outputs a vector of counts of th...

mehr als 13 Jahre vor

Gelöst


Implement a bubble sort technique and output the number of swaps required
A bubble sort technique compares adjacent items and swaps them if they are in the wrong order. This is done recursively until al...

mehr als 13 Jahre vor

Gelöst


Spiral Matrix
for a given integer n>=3, generate a matrix of nxn such that the value n^2 is at bottom left and its decreasing towards center ...

mehr als 13 Jahre vor

Gelöst


find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

mehr als 13 Jahre vor

Gelöst


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

mehr als 13 Jahre vor

Gelöst


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

mehr als 13 Jahre vor

Gelöst


Schwarzschild radius
Compute the <http://en.wikipedia.org/wiki/Schwarzschild_radius Schwarzschild radius> for objects of mass m (kg). Use c = 299,792...

mehr als 13 Jahre vor

Gelöst


Track Logic
A sensor produces either a hit (1) or a miss (0) for a given target once per scan. The sensor is also equiped with a tracker whi...

mehr als 13 Jahre vor

Gelöst


Find names/words that start and end with the same letter.
Find names/words (from a string) that start and end with the same letter. * Case-insensitive. * If a name/word is not at the...

mehr als 13 Jahre vor

Gelöst


select the primes of a vector
Find the prime numbers in a vector

mehr als 13 Jahre vor

Mehr laden