문제를 풀었습니다


User defined nextpow function
Create a function which will take 2 arguments as n and x, and return y, where, n^y >= abs(x). [ Similar to builtin "nextpow2" fu...

대략 2년 전

문제를 풀었습니다


Calculate Resistance
Calculate Resistance R of a linear conductor having resistivity p, length l and area A

대략 2년 전

문제를 풀었습니다


Convert binary numbers array into array of decimal numbers.
Convert binary numbers array into array of decimal numbers. Example x=[ 11001000 ; 11001001 ; 11001010 ; 11001011 ; 11001100 ;...

대략 2년 전

문제를 풀었습니다


An array is given. Find the unique elements of the array. [keep the sequence unchanged]
An array is given. Find the unique elements of the array. [keep the sequence unchanged] For example if input x=[2 ,4 , 9 ,2 ,...

대략 2년 전

문제를 풀었습니다


Basic Mathematics 4
Team #1 is in first place but only one point higher than Team #2. The sum of their two scores is N. What are each team’s scores...

대략 2년 전

문제를 풀었습니다


given number is power of n or not?
Check weather The input is power of n or not? for example x=8,n=2 --> true x=6,n=2 --> false

대략 2년 전

문제를 풀었습니다


Vector indexing: lower than mean
Find indices of values in a vector lower than the mean of the vector

대략 2년 전

문제를 풀었습니다


Annoying population
Every year the number of annoying persons in the office triples Found the population, given a(0) and t

대략 2년 전

문제를 풀었습니다


Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

대략 2년 전

문제를 풀었습니다


Check if two matrices are permutations of each other
Your function should return true for the elements of one matrix is the permutation of the other matrix: x = [1 2 3; 4 5 6; ...

대략 2년 전

문제를 풀었습니다


Removing vibration!
There are [y] that vary with [x] but y including small useless vibration. x=1:10 y=[1.71 2.03 3.28 4.05 5.10 6.82 7.69 8.3...

대략 2년 전

문제를 풀었습니다


replace empty matrices with '[]'
for example a=1;a(:,1)=[]; returns a = Empty matrix: 1-by-0 use this as the input,and the output should be '[]...

대략 2년 전

문제를 풀었습니다


Gold Standard
Gold has long been used as currency and a standard for currency, due to its inherent value and rarity. Historical data for gold ...

대략 2년 전

문제를 풀었습니다


Summation of Non Zeros Numbers in String Variable
Find the Summation of Non Zeros Numbers in String Variable The input : x = '100205' The Output : y = 8

대략 2년 전

문제를 풀었습니다


Matrix Rotation
Write a MATLAB function that rotates a given matrix by 90 degrees clockwise. The rotation should be performed in-place, without ...

대략 2년 전

문제를 풀었습니다


Palindrome Checker
Create a MATLAB function that checks whether a given string is a palindrome or not. A palindrome is a word, phrase, number, or o...

대략 2년 전

문제를 풀었습니다


Convert vector of strings to lower triangular matrix
Given a non-empty vector vec of strings, please put its elements into the lower triangular half of a square matrix M column-wise...

대략 2년 전

문제를 풀었습니다


Repeat a string (not a character array)
True string are a relatively recent addition to MATLAB, first having been available in R2016. Strings contrast with character ar...

대략 2년 전

문제


Sun angle
Determine the angle of the sun above the horizon based on the time of day. Assumptions: the sun rises in the East at 6h00, cor...

대략 2년 전 | 1 | 솔버 수: 22

문제


Sort by absolute value
Given a list of numbers, arrange them in ascending order based on their absolute values. For example, for the list [-30, -5, 1...

대략 2년 전 | 0 | 솔버 수: 33

문제


Replace with Lower
Given a list of integers, for each element, replace it with the minimum integer found in the sub-list to its strict right (exclu...

대략 2년 전 | 0 | 솔버 수: 18

문제를 풀었습니다


Complete a geometric sequence
In Cody Problem 59786 minnolina asks us to find the integer that completes a randomly sorted arithmetic sequence with one missin...

대략 2년 전

문제


Limiting Element Occurrences
You are given a list 'v' of numbers. This list may contain repeated numbers. Your objective is to create a new list that maintai...

대략 2년 전 | 1 | 솔버 수: 12

문제


Missing Number
Given a list of integers forming an arithmetic progression (where the difference between consecutive elements is constant), your...

대략 2년 전 | 0 | 솔버 수: 18

문제


Available ingredients + recipe -> number of cakes
Write a function Egg_Milk_Sugar(L, recipe) to determine the maximum number of cakes that can be prepared given a list of availab...

대략 2년 전 | 0 | 솔버 수: 14

문제


Extract Increasing Integers from Digit String
Given a string containing only digits, the function get_integers should return the list of increasing integers obtained by readi...

대략 2년 전 | 0 | 솔버 수: 14

문제


Leader
An element of a list is called a "leader" if every element to its right (and not just the one immediately to its right) is stric...

대략 2년 전 | 0 | 솔버 수: 14

문제


Digits eliminate
Complete the function my_f(n,b) to return, for a given integer, the number obtained by removing the digits '0' and 'b'. If there...

대략 2년 전 | 0 | 솔버 수: 25

문제


Compress list
Given a non-empty list L of positif integers, compress the list so that only one occurrence is retained if two (or more) equal e...

대략 2년 전 | 0 | 솔버 수: 10

문제를 풀었습니다


Without the French accent please!
Suppress the French accent. Example 'Déjà présent' -> 'Deja present'

대략 2년 전

더 보기