A résolu


N-Dimensional Sorting
Given two N-dimensional matrices A and B, first sort A in increasing order and then sort B with respect to the index of A. Y...

5 jours il y a

A résolu


Number of bytes required to store a sparse matrix
The input will be a sparse matrix : x = sparse(100,1000,0.01); >>whos x shows that 8024 bytes ares required . The aim...

5 jours il y a

A résolu


Convert nested struct-array to numeric array
Sometimes data happens to be nicely structured in a struct-array, distributed over various levels of the struct, according to th...

5 jours il y a

A résolu


Wayfinding 5 - Travel contour
This is the fifth part of a series of assignments about wayfinding. The final goal of this series is to be able to calculate the...

5 jours il y a

A résolu


Wayfinding 4 - Crossing, level 2
This is the fourth part of a series of assignments about wayfinding. The final goal of this series is to be able to calculate th...

5 jours il y a

A résolu


Mmm! Multi-dimensional Matrix Multiplication
You have got a couple of multi-dimensional matrices, A and B. And want to multiply them. For the first 2 dimensions, an ordinary...

6 jours il y a

A résolu


Order of things - 3
This problem is closely related to <http://www.mathworks.nl/matlabcentral/cody/problems/2189-order-of-things-1 Problem 2189, Ord...

6 jours il y a

A résolu


Order of things - 2
This problem is closely related to <http://www.mathworks.nl/matlabcentral/cody/problems/2189-order-of-things-1 Problem 2189, Ord...

6 jours il y a

A résolu


A SUBSREF variant that accepts the 'end'-operator.
Unfortunately, Matlab's |subsref| function does not support the |end| -operator. The |end| -operator is a powerfull method to re...

6 jours il y a

A résolu


Make a KITT-scanner on the command line
Did you know that you can actually remove characters from the command-line window? Just send a 'backspace' character to the outp...

6 jours il y a

A résolu


Convert a substructure reference string into a valid definition structure for subsref and subsasgn
You have a reference to an element in a data structure, which you want to pass to a function. Not the value itself, but the refe...

6 jours il y a

A résolu


Robust alignment of coordinate system
We have to create a custom 3-D coordinate system of which one axis is defined by a vector (in the global coordinate system). The...

6 jours il y a

A résolu


Guess the number I'm thinking of (Part 2)
Have you tried the original "Guess the number I'm thinking of" (Problem 44630)? This problem is just like that, except that the...

7 jours il y a

A résolu


What score did they give?
Your task in this problem is to figure out the most recent score, |S|, submitted. <<https://upload.wikimedia.org/wikipedia/...

7 jours il y a

A résolu


Is input the global variable z?
When the input is certainly not the global variable |z|, your function must return |false|. Otherwise return |true|. All input...

7 jours il y a

A résolu


Comparison of floating-point numbers (singles)
Floating-point numbers cannot generally be represented exactly, so it is usually inappropriate to test for 'equality' between tw...

7 jours il y a

A résolu


Computational power of Cody servers
It has been <https://en.wikipedia.org/wiki/Moore%27s_law#History predicted> that the performance of integrated circuits would _d...

7 jours il y a

A résolu


Make your own Test Suite (part 0)
_Have no knowledge of <https://au.mathworks.com/help/matlab/matlab_prog/floating-point-numbers.html "floating-point numbers">? ...

7 jours il y a

A résolu


Make your own Test Suite (part 2)
In this task you need to imagine that you — _yes, YOU_ — have developed a problem on Cody for _me_ to solve, and now *you need t...

7 jours il y a

A résolu


Make your own Test Suite (part 1)
In this task you need to imagine that you — _yes, YOU_ — have developed a problem on Cody for _me_ to solve, and now *you need t...

7 jours il y a

A résolu


Almost done with the "tutorial"(Perimeter of a circle)
Find the perimeter of a circle(P) if radius r is given.

7 jours il y a

A résolu


Not yet geometry(Circles)
Type the formula of the area(Ac) of a circle with radius r and a sector of a circle(As) with radius r and angle theta in rads. ...

7 jours il y a

A résolu


Not yet geometry(square, rectangle and trapezium)
Type the formula of the area of a square(Asq) of side(a), a rectangle(Arec) of length(l) and width(w) and of a trapezium(Atr) of...

7 jours il y a

A résolu


Not yet geometry(equilateral triangle)
Type the formula of the area(A) of an equilateral triangle with a side of a. Tip: As a string.

7 jours il y a

A résolu


Not yet geometry(triangles)
Write the formula of the area of a triangle(A) that has a height of h and a base of b. Tip: Write the formula as a string.

7 jours il y a

A résolu


Geometry time 6!(Extremely hard)
We have two circles. One small(C1) that is inside a bigger one (C2). C1 has a radius R1 and C2 has a radius R2. C1 is internally...

7 jours il y a

A résolu


Geometry time 5! (Hard)
In the following shape you are requested to find the radius of the circle(r): Further explanation: 1) ABCD and pink shape are...

7 jours il y a

A résolu


Geometry time 4!(Medium to hard)
Given the rectangle below you are requested to calculate its area(A) while the length of AE, BE and CE is given. Further explan...

7 jours il y a

A résolu


Geometry time3!(Medium)
This time we have two circles! The shape is given below: You are requested to calculate the area of the two circles(A1 ,A2) g...

7 jours il y a

A résolu


Gometry time2!(easy to medium)
Given the same circle as ''Geometry time!'' below you are now requested to to find the length of the section OAB(L). However the...

7 jours il y a

Charger plus