解決済み


Calculate days until Christmas
Provided with inputs year, month, day e.g. 2019,11,12, calculate the number of days until the next Christmas day, i.e. the next ...

7ヶ月 前

解決済み


Convert a temperature reading from Celsius to an unknown scale
Two of the most famous temperature scales are the Celsius and the Fahrenheit scale. In reality, however, there are so many other...

7ヶ月 前

解決済み


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;...

7ヶ月 前

解決済み


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

7ヶ月 前

解決済み


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

7ヶ月 前

解決済み


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

7ヶ月 前

解決済み


to the 2 all elements
to the 2 all elements

7ヶ月 前

解決済み


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

7ヶ月 前

解決済み


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

7ヶ月 前

解決済み


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

7ヶ月 前

解決済み


Draw a '0' in a one matrix!

7ヶ月 前

解決済み


Create a figure and plot data
Given two data vectors (x,y), open a new figure and plot the data. Return the figure handle.

7ヶ月 前

解決済み


Converts numbers into characters
Converts numbers into characters

7ヶ月 前

解決済み


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the second...

7ヶ月 前

解決済み


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

7ヶ月 前

解決済み


SatCom #1: Wavelength of an electomagnetic wave
*Satellite and Space Engineering - Problem #1* _This is the first of a series of problems looking at topics in satellite and ...

7ヶ月 前

解決済み


Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

7ヶ月 前

解決済み


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

7ヶ月 前

解決済み


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 ...

7ヶ月 前

解決済み


Create a vector
Create a vector from 0 to n by intervals of 2.

7ヶ月 前

解決済み


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not to use d...

7ヶ月 前

解決済み


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

7ヶ月 前

解決済み


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

7ヶ月 前

解決済み


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

7ヶ月 前

解決済み


Inner product of two vectors
Find the inner product of two vectors.

7ヶ月 前

解決済み


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

7ヶ月 前

解決済み


Compute the missing quantity among P, V, T for an ideal gas
Consider 100 mol of helium gas at a certain pressure (P), volume (V), and temperature (T). Assuming that the ideal gas law appli...

7ヶ月 前

解決済み


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

7ヶ月 前

解決済み


Spot the rectangle (Part 2)
This problem is related to the 17x17 challenge. See also Part 1 of this problem. Given a matrix in which each element is either ...

8ヶ月 前

解決済み


Guess Cipher
Guess the formula to transform strings as follows: 'Hello World!' --> 'Ifmmp Xpsme!' 'Can I help you?' --> 'Dbo J ifm...

8ヶ月 前

さらに読み込む