Community Profile

# William

Last seen: 3 mois il y a Actif depuis 2022

#### Content Feed

Afficher par

A résolu

Summy's odd sum

3 mois il y a

A résolu

Summation of integers

3 mois il y a

A résolu

non-repitition of numbers in a vector

3 mois il y a

A résolu

sign function

3 mois il y a

A résolu

step function

3 mois il y a

A résolu

F.R.I.E.N.D.S

3 mois il y a

A résolu

imaginary

3 mois il y a

A résolu

Real

3 mois il y a

A résolu

NaN

3 mois il y a

A résolu

Round to Nearest Multiple of 10^n

3 mois il y a

A résolu

Sort in descending order.

3 mois il y a

A résolu

Hydrostatic Pressure
Given depth(height), in m, find the pressure under a body of water. Need to know the density of water(kg/m^3), and gravity(m/s^2...

3 mois il y a

A résolu

how tall are you?
you can find the length wit this code.

3 mois il y a

A résolu

Given A4 sizes find A3's long side
I think you know the relation between A3 and A4 paper so givens are sides of A4 x1=long side of A4 y1=short side of A4 y2 is ...

3 mois il y a

A résolu

Power Numbers
Find the n-th power of m.

3 mois il y a

A résolu

A shooting competition
In a shooting competition, the target is a square of side L containing a circle of radius R<=L/2. A player scores one point if h...

3 mois il y a

A résolu

How to Concatenate two strings?
How to Concatenate two strings?

3 mois il y a

A résolu

Reverse Concatenation
Suggest methods to form a Matrix after deleting one of the input's elements. Input should be element's position and output shou...

3 mois il y a

A résolu

persistant sum
There will be 9 tests for this problem. In each test you will be provided with 2 integers n=[n1,n2], where n2 is equal to t...

3 mois il y a

A résolu

Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...

3 mois il y a

A résolu

Sideways sum
Given natural number calculate its _population count_.

3 mois il y a

A résolu

Special Relativity 101.
Special relativity states that the effective mass of an object varies as a function of its velocity. If *c* is the speed of ligh...

3 mois il y a

A résolu

Generalized sorting
Write generalized sort function |sortg()| that sorts array elements in &ldquo;ascending&rdquo; order with given comparison funct...

3 mois il y a

A résolu

Travelling Salesman Problem (TSP)
Find a short way through given points. This is the travelling salesman problem. But the solution should be a fast and small func...

3 mois il y a

A résolu

find "greatest common divisor" of two integer value
A function to find Greatest Common Divisor of two integer input E.G. x=-18 y=96 output should be +6 x=-18; y=96; >>your...

3 mois il y a

A résolu

Rotate counterclockwise a matrix 90 deg with left-bottom element
Example: Input [ 1 2 3 4 5 6 ] Output [ 3 6 2 5 1 4 ]

3 mois il y a

A résolu

Accessing value of variable whose name is stored in another variable as string.
Accessing value of variable whose name is stored in another variable as string. for example: var1=n; var2='var1'; %Assigning...

3 mois il y a

A résolu

Low level NaN
* I have a dataset. Columns represents different variables. * A variable may start with NaN or any double type number. * If i...

3 mois il y a

A résolu

Create cell array of numeric arrays
Convert the input to a cell array, but only if necessary. If the input is a numeric array, return a 1-by-1 cell array contain...

4 mois il y a

A résolu

Create cell array of strings
Convert the input to a cell array, but only if necessary. If the input is a string, return a 1-by-1 cell array containing the...

4 mois il y a