解決済み


Solve expression I
Solve expression (1+sin(x))/cos(x)+cos(x)/(1+sin(x)) for given vector x.

約7年 前

解決済み


Replace 0 to NaN!
In given matrix A=[1 nan nan; 2 2 nan; nan nan 1]; replace NaN to 0. Use matrix A as a input.

約7年 前

解決済み


Rankine to Celsius Converter
Given input R, degrees Rankine, convert into degrees Celsius.

約7年 前

解決済み


Determine given vector is even or odd
Find the numbers of the input vector is odd or even then replace even with 1 and odd with 0 Example x = [ 3 3 4 6 1] ...

約7年 前

解決済み


lb to kilogram
convert lb to kilogram units, easy

約7年 前

解決済み


Ounces to Kilograms
convert ounces to kilograms, easy

約7年 前

解決済み


wipe out!
make all the elements in given x zero.

約7年 前

解決済み


Shift elements of vector left
Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

約7年 前

解決済み


Determine point is located in a circle or not
Using input [x] and [y], determine the points (x,y) is located inside of circle (x^2+y^2=1) if point is located in circle,...

約7年 前

解決済み


true or false
if the matrix has a zero, return true. else, return false

約7年 前

解決済み


Spherical Volume
Calculate the volume of a sphere.

約7年 前

解決済み


Was ist denn los?
Nur für deutschsprechende Leute! Wie geht's? ...also gut, bis bald!

約7年 前

解決済み


Change matrix to vector2
From x = 4 3 5 1 5 1 To y = 4 3 5 1 ...

約7年 前

解決済み


Diagonal & Anti-Diagonal Matrix: Easy
Create a matrix as shown below from "magic" square. For example: if input x=9;then use mgic(x) and create the matrix...

約7年 前

解決済み


The prisoner
"We want information, information, information." "Who are you?" Input can be a string or a number (array).

約7年 前

解決済み


Too Many Zeros, Dump Them!
Sometimes when I create a matrix, I use this syntax: a = zeros(1000,1000); But when the function ends, I find that I don'...

約7年 前

解決済み


CARDS PROBLEM
Read my mind and tell me the card number that I have now in my hands.

約7年 前

解決済み


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

約7年 前

解決済み


How to calculate log?
There is a log that have base 5. How to calculate? log5(x)?

約7年 前

解決済み


Concatenate strings
concatenate a variable number of input strings to produce one outputstring

約7年 前

解決済み


Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

約7年 前

解決済み


Let's get back to school, and create multiplication tables
For a given range, create multiplication tables. (start is always < endno) Example start = 17 endno = 19 Then, ...

約7年 前

解決済み


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

約7年 前

解決済み


Tridiagonal
Return an n-by-n matrix that has a, b, c as the subdiagonal, main diagonal, and superdiagonal entries in the matrix. Example ...

約7年 前

解決済み


Largest territory
Determine whose territory is largest. If there are multiple numbers tied for the largest territory, return the smallest number. ...

約7年 前

解決済み


Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones. * Find 1 0 1 and replace it with 1 1 1 * Find 0 1 0 and replace it w...

約7年 前

解決済み


Find the index of n in magic(n)
If input n=5, then magic(n) is 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22...

約7年 前

解決済み


Can we make a triangle?
Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle su...

約7年 前

解決済み


Find the sides of an isosceles triangle when given its area and height from its base to apex
Find the sides of an isosceles triangle when given its area and the height from its base to apex. For example, with A=12 and ...

約7年 前

解決済み


Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...

約7年 前

さらに読み込む