문제를 풀었습니다


Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.
if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

2년 초과 전

문제를 풀었습니다


Vector to 3-Column Matrix
Consider a vector *A* such as A = [1 2 3 3 4 5 6] Can you convert this vector to a three-column matrix like this: ...

2년 초과 전

문제를 풀었습니다


Converter temp 0 to 200 degree C to 4 to 20mA
Converter temp 0 to 200 degree C to 4 to 20mA (It is used in transmitter)

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Polynomial division
Divide a polynomial u by polynomial v and return the quotients only. Example: u = x^4+3*x^3+5*x+3 v = x^2+1 Answer: ...

2년 초과 전

문제를 풀었습니다


Leap Year
According to Gregorian Calender(which is in use now, in many countries),decide whether a given year is a leap year or not. Give...

2년 초과 전

문제를 풀었습니다


Baseball Pitch Question
One pitcher made 10 practice pitches during his warm up before the game. Using the given information, create a vector matrix an...

2년 초과 전

문제를 풀었습니다


Calories in a slice of pizza?
The total calories C in a pizza is printed on its box. You know the angle A (degrees) of the slice you placed on your plate. Ple...

2년 초과 전

문제를 풀었습니다


Next Lower Power of B
Given a number _n_ and a base _B_ greater than 1, return the lowest integer power of _B_ that is less than or equal to _n_. E...

2년 초과 전

문제를 풀었습니다


Generate the sum of Squares of the given number
|P(n) = 1^2 + 2^2 + ... + n^2| |P(1) = 1| |P(2) = 1 + 4 = 5;| |P(3) = 5 + 9 = 14;| |P(4) = 14 + 16 = 30;|

2년 초과 전

문제를 풀었습니다


Get 1-4-3-4-4
Get the value of the indices in the title and assign it to an array

2년 초과 전

문제를 풀었습니다


Can the given sides form a triangle?
Can the three given sides form a triangle?

2년 초과 전

문제를 풀었습니다


Power supply: 230V to 115V
The problem is simple: we have a wall outlet which supplies 230V and an apparatus that requires 115V. Software is always chea...

2년 초과 전

문제를 풀었습니다


union without repitition
Let a = [9 9 9 9 9 9 8 8 8 8 7 7 7 6 6 6 5 5 4 2 1] b = [1 1 1 3 3 3 3 3 4 4 4 4 4 10 10 10] Output should be [9 8...

2년 초과 전

문제를 풀었습니다


generate number in particular way
A = [1 5 2 7]; MAX = 10; generate a array Y = [1 2 2 2 2 2 3 3 4 4]; i.e. total eleme...

2년 초과 전

문제를 풀었습니다


sign function

2년 초과 전

문제를 풀었습니다


Use R2016b Text Manipulations to Fix These Addresses (Part 1)
We have a series of addresses like the following which we'd like to reformat. Can you remove the latitude and longitude from the...

2년 초과 전

문제를 풀었습니다


Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...

2년 초과 전

문제를 풀었습니다


square a vector-Given the variable x as your input, square it and put the result in y.
function y = (x)squared y = x; end

2년 초과 전

문제를 풀었습니다


interesting center of magic matrix
output the centre of magic matrix of n input=7; output=25

2년 초과 전

문제를 풀었습니다


Decide whether determinant is zero.
Given a 3 x 3 matrix, find the determinant. Let y = true if the determinant is zero, and let y = false if the determinant is no...

2년 초과 전

문제를 풀었습니다


Pointwise multiplication of vectors.
Pointwise multiplication of vectors x and y. Example x= [1 3 5 7 9 11 13 15 17 19] y=[ 1 4...

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

2년 초과 전

문제를 풀었습니다


Find sum of negative elements in row.
Find sum of negative elements in row. Example x=[1 -5 3 4 -6 6 7 8 9 10] result = -11

2년 초과 전

문제를 풀었습니다


Sum all integers from 1 to 2^x
Given a number x, your function must return the summation of all integers from 1 to 2^x.

2년 초과 전

문제를 풀었습니다


Create cosine function out of sine
Please dont use cos(x) directly

2년 초과 전

문제를 풀었습니다


Find maximum value of a curve
Two vectors shall be already defined: - Input vector x (e.g. x = 0:1:10) - Result vector y (e.g. y = sin(x)) Create a n...

2년 초과 전

문제를 풀었습니다


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

2년 초과 전

문제를 풀었습니다


Matlab Basics II - 3 Dimensional Arrays
Assume x is a 3D array with n pages, representing students in a class, for each student (page in the array, the 3rd dimension), ...

2년 초과 전

더 보기