List the segmented numbers
The sequence of segmented numbers begins 1, 2, 4, 5, 8, 10, 14, 15, 16. Notice that none of the terms is the sum of consecutive ...
2年以上 前
解決済み
Out-of-Place Elements Count
Determine the number of elements in a list of integers that are not in their original order after sorting the list in ascending ...
Sequencing Odd Even numbers
Given an input value n, create a vector which contains all odd numbers & even numbers centered around mean of vector. If the me...
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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
解決済み
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...