문제를 풀었습니다


Test if a number is numeric or not
Test if a number is numeric or not

거의 3년 전

문제를 풀었습니다


Volume of Cylinder
Compute the Circumference of a Cylinder given it's radius and height.Here x is the radius and y is the height

거의 3년 전

문제를 풀었습니다


Determine if a row vector has NaN
Determine if a row vector x has NaN

거의 3년 전

문제를 풀었습니다


factorial of a number x
Factorial of a number x

거의 3년 전

문제를 풀었습니다


Append two matrix as shown below example
Append two matrix as shown below example A=[1 2; 3 4] and B=[5 6;7 8] Answer must be 1 2 5 6 3...

거의 3년 전

문제를 풀었습니다


Your favourite city!
Type your favourite city.

거의 3년 전

문제를 풀었습니다


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

거의 3년 전

문제를 풀었습니다


Finding an element in a vector
x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...

거의 3년 전

문제를 풀었습니다


find the roots of a quadratic equation
for e.g x = [ 2 -1 -3] y = [1.5 -1]

거의 3년 전

문제를 풀었습니다


Weave two vectors into one
Weave the two given vectors into one as shown below. Example: If a = [1 1 1] b = [0 0 0] then y = [1 0 1 0 ...

거의 3년 전

문제를 풀었습니다


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

거의 3년 전

문제를 풀었습니다


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

거의 3년 전

문제를 풀었습니다


CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5

거의 3년 전

문제를 풀었습니다


Find the nearest integer
Given a vector of integers and a real number find the closest integer. EX: >> a = [2 4 5 6 8 10]; >> b = 4.6; >> nea...

거의 3년 전

문제를 풀었습니다


What is the distance from point P(x,y) to the line Ax + By + C = 0?
Given a point, P(x,y), find the distance from this point to a linear line. INPUTS: x, y, A, B, C OUTPUTS: d, the distance ...

거의 3년 전

문제를 풀었습니다


The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

거의 3년 전

문제를 풀었습니다


Array of Ones
Create a 100 X 100 array of ones.

거의 3년 전

문제를 풀었습니다


Matlab Basics - Set unwanted parts of a vector to zero
Consider a vector x, of length >= 7, write a script to set elements 2, 5, and 6 to zero. Example x = [1 2 3 4 5 6 7] --> ...

거의 3년 전

문제를 풀었습니다


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

거의 3년 전

문제를 풀었습니다


Remove entire row and column in the matrix containing the input values
Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...

거의 3년 전

문제를 풀었습니다


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] is s...

거의 3년 전

문제를 풀었습니다


Change the sign of even index entries of the reversed vector
change the signs of the even index entries of the reversed vector example 1 vec = [4 -1 -2 9] ans = [9 2 -1 -4] example2...

거의 3년 전

문제를 풀었습니다


Specific Element Count
Given a vector _v_ and a element _e_, return the number of occurrences of _e_ in _v_. Note: NaNs are equal and there may be n...

거의 3년 전

문제를 풀었습니다


square root
Find the square root (y) of an input (x).

거의 3년 전

문제를 풀었습니다


Replace Vector Elements
Replace all elements in a vector which are equal to or smaller than zero with 0.1. Example: A = [1 2 3 -1 0 2 -3 -80]; ...

거의 3년 전

문제를 풀었습니다


Convert from Base 10 to base 5
Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10

거의 3년 전

문제를 풀었습니다


Bruh
Return 'bruh'.

거의 3년 전

문제를 풀었습니다


Carnot cycle
Carnot engine is considered the most efficient heat engine.When operated between two temperatures T1 and T2, the efficiency is g...

거의 3년 전

문제를 풀었습니다


Hardy-Ramanujan number
Find the first Hardy-Ramanujan number.

거의 3년 전

문제를 풀었습니다


Interior angles
Find the sum of interior angles for polygon of x sides.

거의 3년 전

더 보기