Alexander Ross
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
Muphry's Law of MATLAB
You're running some simple multiplication problems through MATLAB for error checking purposes, but nothing seems to come up with...
대략 8시간 전
문제를 풀었습니다
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
대략 12시간 전
문제를 풀었습니다
Numbers on 7-segment
This is a 7-segment: _ |_| |_| It's a 3-by-3 char matrix.It has made by 3 characters: '_' , '|' and ' ' (space...
대략 14시간 전
문제를 풀었습니다
Find the triplet
Given an array x of size n > 3 and an integer N, return the indices of three elements in the array that sum up to the given inte...
1일 전
문제를 풀었습니다
Permutation Via Multiplication
Given two numbers a and b, determine if the product ab is a permutation of the digits of a. For example, this is always true for...
1일 전
문제를 풀었습니다
Better Index Number
Let's say you want to save many, many files and append these files with a certain sortable index number. As you probably know, y...
1일 전
문제를 풀었습니다
Whole Number Un-Concatenator
Write a function that accepts an integer and an index digit and returns a vector containing two integers which are the leading a...
1일 전
문제를 풀었습니다
Whole Number Concatenator
Write a function that concatenates whole numbers. For example: numcat(111,222) should return 111222 numcat(1,2,3,4,5) s...
1일 전
문제를 풀었습니다
Lunar Arithmetic (Addition)
<https://oeis.org/A087061 OEIS link for a description of lunar arithmetic> Simply take the larger digit. Example 1: ...
1일 전
문제를 풀었습니다
Pattern Sum
Write a function which receives two single digit positive integers, (k and m) as parameters and calculates the total sum as: k...
1일 전
문제를 풀었습니다
combine cells
A cell type variable is created. However it has other cells in itself. we want to integrate them all in a single cell. the conte...
2일 전
문제를 풀었습니다
Repeat string n times - 3
function myOutput = rep_str_3(string1, string2, num1, num2, n) function desiredOutput = rep_str_3('string1', 'STRING2', 0...
2일 전
문제를 풀었습니다
Filter AC, pass DC
Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component. ...
2일 전
문제를 풀었습니다
surface of a spherical planet
you just discovered its circumference, that is the input.
2일 전
문제를 풀었습니다
Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...
2일 전
문제를 풀었습니다
Back to basics 9 - Indexed References
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix and row and column, output the index of th...
2일 전
문제를 풀었습니다
The average of the second largest values
Given a matrix, find the average of the second largest values in each row. The same value does not exist on a row. Example: ...
3일 전
문제를 풀었습니다
Given a Matrix add a frame of 0's to it
for x as the input = [ 8 7 9 8 2 4 3 2 6 7 5 3] then output y sould be = out=[0 0 0 0 0 ...
3일 전
문제를 풀었습니다
Calculate Availability of a Redundant Pair
Redundancy can improve system availability by allowing the system to continue operating when one of two independent components f...
3일 전
문제를 풀었습니다
Count System Architecture Interfaces
An architecture can be represented using a connectivity matrix. Each row and column represents a system element, while a value o...
3일 전
문제를 풀었습니다
Count Active Architecture Elements
A system architecture may contain several elements, but not all elements are active in a particular configuration. Given a logi...
3일 전
문제를 풀었습니다
Calculate the Compression of a Spring
A mechanical engineer wants to determine how much a spring will compress when a force is applied to it. According to Hooke’s Law...
3일 전
문제를 풀었습니다
Create a fixed format text output
Given a short brief matrix, such as x = [1.2 2.4 3.6; 1.5 2.3 3.5; 1.35 2.35 3.65] and a label 13, create a fixed format text o...
3일 전
문제를 풀었습니다
Word Distance - Average Sort
Based on the method of <https://www.mathworks.com/matlabcentral/cody/problems/44815-word-distance-sum this problem>, write a fun...
3일 전
문제를 풀었습니다
Word Search Solver
There are n words (minimum of three letters in each word) supplied with a given word search board. The answer will contain n row...
7일 전
문제를 풀었습니다
Spiral Matrix
for a given integer n>=3, generate a matrix of nxn such that the value n^2 is at bottom left and its decreasing towards center ...
8일 전
문제를 풀었습니다
Find names/words that start and end with the same letter.
Find names/words (from a string) that start and end with the same letter. * Case-insensitive. * If a name/word is not at the...
8일 전
문제를 풀었습니다
MATLAB 101: Factorial Finder
The factorial of a non-negative integer n (denoted as n!) is the product of all positive integers less than or equal to n. For e...
8일 전
문제를 풀었습니다
MATLAB 101: Extract the prime numbers
Given a list of elements, extract the prime numbers from that array.
8일 전











