문제를 풀었습니다


Column norms of a matrix
Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

5년 초과 전

문제를 풀었습니다


calculate RMS voltage
given peak to peak voltage, calculate rms voltage

5년 초과 전

문제를 풀었습니다


Square wave average calculation
Given its peak and duty cycle, calculate avg value of square wave

5년 초과 전

문제를 풀었습니다


Calculate the peak value of square wave
Given the peak value of sine wave, calculate corresponding peak value of square wave, if both have same RMS voltage.

5년 초과 전

문제를 풀었습니다


Sort an array of structures
You need to sort an array of structures based upon *a numeric first field*: For example : a.n=1; a.name='a'; b.n=3...

5년 초과 전

문제를 풀었습니다


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

5년 초과 전

문제를 풀었습니다


Determinate if day D is a date that occurs during Daylight Saving Time in Italy
<https://en.wikipedia.org/wiki/Summer_Time_in_Europe>

5년 초과 전

문제를 풀었습니다


Calculate the hypotenuse of a right triangle without using ^ and sqrt ()
Find out the hypotenuse of right triangle. Say a = 4, b = 3 then c = 5 Please don't use ^ and sqrt() function.

5년 초과 전

문제를 풀었습니다


Find the index of elements in a string vector
In the vector of v, find the index of elements specified by a. v = ["Lion","Koara","Elephant","Snake","Dog","Cat","Camel"]; ...

5년 초과 전

문제를 풀었습니다


Find index of non empty cell array
This question aims to understand the characteristics of MATLAB programs. Educational problem. Please find non empty index of ...

5년 초과 전

문제를 풀었습니다


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

5년 초과 전

문제를 풀었습니다


Prime Letters = Removing
Given a string, remove all the letters which in ASCII Code are prime numbers. For Example: s1 = 'Determine which array e...

5년 초과 전

문제를 풀었습니다


Adding Cells with numbers defined as strings
Given a cell, with strings representing numbers, add each value. For example: a = {'9','33'}; the output should be: ...

5년 초과 전

문제를 풀었습니다


Deleting Specific part.
if input is x= { /*[0..10]*/ 0, 11, 21, 31, 41, 55, 50, 10, 810, 9.10, /*[10...25]*/ 100, 110, 120, 130, 140, 255 ...

5년 초과 전

문제를 풀었습니다


Insert Special character in character cell array.
input={'a','b','c'} then ans={'a','*','b','*','c'}

5년 초과 전

문제를 풀었습니다


De-primed
Write a function that will multiply every prime number in the array or matrix by two, leaving all other numbers the same, and re...

5년 초과 전

문제를 풀었습니다


Convert Angstrom to Meters
Write a code that converts the angstrom unit to meters.(A is angstrom and m is meters.)

5년 초과 전

문제를 풀었습니다


Double the next!
Given two numbers, m and n, find a matrix m x n where each element value is twice the value of the previous element. Starting fr...

5년 초과 전

문제를 풀었습니다


Modified run-length companion vector
Given a vector x, return a vector that indicates the run length of any value in x. Each element in output vector shows how many ...

5년 초과 전

문제를 풀었습니다


Create Truth Table of Size according to input
Create a Truth Table Example: n = 3 output = [0 0 0; 0 0 1; 0 1 0; 0 1 1; 1 0 0; 1 0 1; 1 1 0; 1 1 1]

5년 초과 전

문제를 풀었습니다


Maximum sum from any 2 numbers with a variable number of inputs
Given a variable number of inputs, combine any 2 numbers from the inputs and output the maximum sum the combinations can generat...

5년 초과 전

문제를 풀었습니다


Primes Checker
Given variable inputs Check if they are prime numbers

5년 초과 전

문제를 풀었습니다


Divisible by 21
Write a function to determine if a number is divisible by 21.

5년 초과 전

문제를 풀었습니다


Find the maxmum value of N*N Matrix
Input x=[1 2 3; 4 5 6; 7 8 9] output: y=9

5년 초과 전

문제를 풀었습니다


Basics: counting digits of a number irrespective of the sign
publish the number of digits in any input integer example: -23---->2

5년 초과 전

문제를 풀었습니다


Find the absolute value of of the array

5년 초과 전

문제를 풀었습니다


Product of Each Column
Given a matrix |mat| with |n| columns, return a row vector |v| of length |n|, where every element in |v| is the product of the |...

5년 초과 전

문제를 풀었습니다


square a number twice with square root of 4/5
square a number twice with square root of 4/5

5년 초과 전

문제를 풀었습니다


ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.

5년 초과 전

문제를 풀었습니다


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

5년 초과 전

더 보기