문제를 풀었습니다


matlab indian players
answer is one of the indian matlab player(just for fun dont take serious)

1년 초과 전

문제를 풀었습니다


Is it an Armstrong number?
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...

1년 초과 전

문제를 풀었습니다


Vertical matrix sort
Given a matrix x with n rows and m columns, return a matrix y with 2n rows and m columns, such that every column in x is sorted ...

1년 초과 전

문제를 풀었습니다


Back to basics 15 - Benchmark
Covering some basic topics I haven't seen elsewhere on Cody. Return an array of the benchmark values for MATLAB.

1년 초과 전

문제를 풀었습니다


Which quadrant?
Given a complex number, output quadrant 'I' 'II' 'III' or 'IV' | II | I | ...

1년 초과 전

문제를 풀었습니다


Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...

1년 초과 전

문제를 풀었습니다


Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

1년 초과 전

문제를 풀었습니다


Area of rhombus
Calculate the rhombus area

1년 초과 전

문제를 풀었습니다


Matrix to column conversion
Given a matrix of any size, convert it into a column vector. e.g A=[10 20 30; 40 50 60] then, B = [10; 40; ...

1년 초과 전

문제를 풀었습니다


Compare two input matrices
Check which input matrix has more elements. Return "1" if matrix A has more elements than matrix B. Otherwise return "0". Exa...

1년 초과 전

문제를 풀었습니다


Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

1년 초과 전

문제를 풀었습니다


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

1년 초과 전

문제를 풀었습니다


factorial of a number x
Factorial of a number x

1년 초과 전

문제를 풀었습니다


Back to basics 26 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of strings of all MATLAB keywords.

1년 초과 전

문제를 풀었습니다


Will there be a new leader?
Simply answer the title.

1년 초과 전

문제를 풀었습니다


If-then-else
Complete the function below such that if the value of x is in the range 10 to 14, inclusive, the value 18 is assigned to y. Oth...

1년 초과 전

문제를 풀었습니다


Back to basics 3 - Temp Directory
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the path to the system's current temp di...

1년 초과 전

문제를 풀었습니다


reverse string
input='rama' output='amar'

1년 초과 전

문제를 풀었습니다


サイコロを作ろう
1から6までの独立かつランダムな数値を返すような関数を作成しましょう。 例: >> [x1,x2] = rollDice(); と入力すると x1 = 5 x2 = 2 のような解を返します。

1년 초과 전

문제를 풀었습니다


Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

1년 초과 전

문제를 풀었습니다


ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

1년 초과 전

문제를 풀었습니다


Convert degrees to radians
Given input in degrees, output to radians

1년 초과 전

문제를 풀었습니다


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

1년 초과 전

문제를 풀었습니다


Linear Motion 1
An object travels N feet in the first second of travel, N feet again during the second second of travel and N feet again during ...

1년 초과 전

문제를 풀었습니다


Matlab Basics - Switching Assignments
Switch assignments for variables x and y, for example start with x = 1 and y = 3 end with y = 1 and x = 3 Do NOT simply r...

1년 초과 전

문제를 풀었습니다


Your favourite city!
Type your favourite city.

1년 초과 전

문제를 풀었습니다


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

1년 초과 전

문제를 풀었습니다


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

1년 초과 전

문제를 풀었습니다


Generate a NaN...on purpose
The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...

1년 초과 전

문제를 풀었습니다


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

1년 초과 전

더 보기