Risolto


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

quasi 2 anni fa

Risolto


Find max
Find the maximum value of a given vector or matrix.

quasi 2 anni fa

Risolto


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

quasi 2 anni fa

Risolto


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

quasi 2 anni fa

Risolto


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

quasi 2 anni fa

Risolto


Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

circa 2 anni fa

Risolto


Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

circa 2 anni fa

Risolto


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

circa 2 anni fa

Risolto


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

circa 2 anni fa

Risolto


Area Conversion 2

circa 2 anni fa

Risolto


Area Conversion 1

circa 2 anni fa

Risolto


Mass Conversion 2

circa 2 anni fa

Risolto


Mass Conversion 1

circa 2 anni fa

Risolto


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

circa 2 anni fa

Risolto


Temperature Conversion 2

circa 2 anni fa

Risolto


Temperature Conversion 1

circa 2 anni fa

Risolto


Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

circa 2 anni fa

Risolto


Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...

circa 2 anni fa

Risolto


Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

circa 2 anni fa

Risolto


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

circa 2 anni fa

Risolto


Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

circa 2 anni fa

Risolto


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

circa 2 anni fa

Risolto


Find the max element of the array
Find the max element of the array

circa 2 anni fa

Risolto


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

circa 2 anni fa

Risolto


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

circa 2 anni fa

Risolto


to the 2 all elements
to the 2 all elements

circa 2 anni fa

Risolto


the average value of the elements
Calculate the average value of the elements in the array

circa 2 anni fa

Risolto


Double all elements in the array
Duplicate all elements in the array

circa 2 anni fa

Risolto


calculate the length of matrix
input 1 array, calculate the length

circa 2 anni fa

Risolto


Draw a '0' in a one matrix!

circa 2 anni fa

Carica altro