Gelöst


execute the declaration in strings and return value
execute the commands in strings and return value input='a=23' output=23

5 Monate vor

Gelöst


interesting center of magic matrix
output the centre of magic matrix of n input=7; output=25

5 Monate vor

Gelöst


index of n^2 in magic(n)
input=5 magic matrix 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 10 ...

5 Monate vor

Gelöst


Distances in a circle
A circle (360°) is given and a row of 6 monotonic increasing numbers with the which difference from last to first value is les...

5 Monate vor

Gelöst


Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones. * Find 1 0 1 and replace it with 1 1 1 * Find 0 1 0 and replace it w...

5 Monate vor

Gelöst


Largest territory
Determine whose territory is largest. If there are multiple numbers tied for the largest territory, return the smallest number. ...

5 Monate vor

Gelöst


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

5 Monate vor

Gelöst


Calculate feeling temperature before climbing a mountain
I sometimes climb a mountain. As is well known, when the altitude becomes 100 (m) higher, the temperature lowers by 0.6 degrees...

5 Monate vor

Gelöst


Probability of red tulips (at both ends of a row)
I planted tulip bulbs in a row on my flower bed. I thought that I had planted white tulips all. However, later, it turned out t...

5 Monate vor

Gelöst


Average of odd values
Find the average of odd values in given a matrix. e.g x=[ 4 11 8 ; 9 2 7 ] y =( 11 + 9+ 7 ) / 3

5 Monate vor

Gelöst


Average of even-numbered columns
Given a vector, find the average of even-numbered columns. e.g x = [ 4 6 8 9 1 2 7 ] y = ( 6 + 9 + 2 ) / 3

5 Monate vor

Gelöst


Delete the column with all 0 in the TABLE
In the given table (T), delete the column with all 0 data. e.g. input Banana Apple Orange Mellon __...

5 Monate vor

Gelöst


Probability of red tulips
I hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yell...

5 Monate vor

Gelöst


Replace Nan!
Replace Nan in the given vector(v) with 9999.

5 Monate vor

Gelöst


Travelling Salesman Problem (TSP)
Find a short way through given points. This is the travelling salesman problem. But the solution should be a fast and small func...

5 Monate vor

Gelöst


Sieve of Eratosthenes - 02
"Sift the Two's and Sift the Three's, The Sieve of Eratosthenes. When the multiples sublime, The numbers that remain a...

5 Monate vor

Gelöst


The MATLAB Treasure Hunt – Unlock the Final Chamber by Solving the Ancient Numeric Cipher
You’ve reached the Final Chamber, where a glowing pedestal displays a sequence of numbers. The inscription reads: “Only the su...

5 Monate vor

Gelöst


The MATLAB Treasure Hunt – Escape the Labyrinth of Logic by Unlocking the Correct Door Sequence
You enter the Labyrinth of Logic, where each door opens only if a secret rule is met. A vector of integers represents door code...

5 Monate vor

Gelöst


The MATLAB Treasure Hunt – Locate the Hidden Treasure in the Chamber of Coordinates
Inside the Chamber of Coordinates, glowing runes show several coordinate points on a 2D grid. The treasure lies closest to the ...

5 Monate vor

Gelöst


The MATLAB Treasure Hunt – Cross the River of Ratios by Finding Successive Proportions in the Data Stream
Following the glowing script, you arrive at the River of Ratios — a flowing stream of numbers. A carved message on the rocks re...

5 Monate vor

Gelöst


The MATLAB Treasure Hunt – Decode the Ancient Script by Removing Strange Symbols from the Message
Emerging from the Maze of Numbers, you find a tablet etched with symbols and letters — an Ancient Script! The message is hidden...

5 Monate vor

Gelöst


The MATLAB Treasure Hunt – Identify the Hidden Pattern Within the Maze of Numbers
The compass leads you to an underground chamber covered in numbers carved into the walls — a maze of digits that glows in myster...

5 Monate vor

Gelöst


The MATLAB Treasure Hunt – Fix the Broken Compass by Normalizing Its Angle Readings
Your compass, recovered from the Hidden Cave, spins wildly! The ancient device shows angles that exceed 360° or drop below 0°. T...

5 Monate vor

Gelöst


The MATLAB Treasure Hunt – Count Matching Symbols on the Ancient Scroll to Unlock the Next Clue
Inside the Hidden Cave, you discover an ancient scroll filled with strange symbols and markings. A note beside it says: “Count ...

5 Monate vor

Gelöst


The MATLAB Treasure Hunt – Extract the Hidden Cave’s Coordinates from a Long List of Numbers
After decoding the first clue, you uncover another piece of parchment — a long list of numbers. At first glance, it looks random...

5 Monate vor

Gelöst


The MATLAB Treasure Hunt – Decode the First Clue Hidden in a Jumbled Sequence of Numbers
You discover an ancient parchment inside the college archives. It contains a jumbled sequence of numbers that seems meaningless ...

5 Monate vor

Gelöst


The Case of the Missing Prototype – Identify the Thief by Comparing Suspects’ Evidence and Alibi Scores
After gathering fingerprints, alibis, sensor data, and digital clues, it’s time to pinpoint the thief. You have a struct array ...

5 Monate vor

Gelöst


The Case of the Missing Prototype – Extract the Culprit’s Name from a Mixed Letter-and-Number Email Message
While tracing the suspect’s digital footprint, you recover an email containing a mixed string of letters and numbers.The letters...

5 Monate vor

Gelöst


The Case of the Missing Prototype – Calculate the Car’s Average Speed Between GPS Readings to Trace the Escape Route
Using GPS data, you’ve obtained the total distance (in meters) traveled by the suspect’s car at equal time intervals.These readi...

5 Monate vor

Gelöst


The Case of the Missing Prototype – Detect Tampered Sensor Readings from the Stolen Device’s Data Logs
You’ve recovered partial sensor data from the stolen prototype.Each reading is stored in a numeric vector data, but something se...

5 Monate vor

Mehr laden