photo

Thilanka Udara


Last seen: Today Actif depuis 2022

Followers: 0   Following: 4

Programming Languages:
MATLAB
Spoken Languages:
English

Statistiques

Cody

1 Problème
389 Solutions

RANG
N/A
of 301 219

RÉPUTATION
N/A

CONTRIBUTIONS
0 Questions
0 Réponses

ACCEPTATION DE VOS RÉPONSES
0.00%

VOTES REÇUS
0

RANG
 of 21 193

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG
285
of 173 467

CONTRIBUTIONS
1 Problème
389 Solutions

SCORE
5 590

NOMBRE DE BADGES
31

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • Speed Demon
  • Creator
  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Commenter
  • Community Group Solver
  • Promoter
  • Solver

Afficher les badges

Feeds

Afficher par

A résolu


Matrix Construction I
Given n, construct a matrix as shown in the example below. Example For n=8, the output should look like this: 1 2 3 4 ...

environ 5 heures il y a

A résolu


Generate Square Wave
Generate a square wave of desired length, number of complete cycles and duty cycle. Here, duty cycle is defined as the fraction ...

1 jour il y a

A résolu


Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

1 jour il y a

A résolu


Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

2 jours il y a

A résolu


Generate this matrix
Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...

3 jours il y a

A résolu


There are 10 types of people in the world
Those who know binary, and those who don't. The number 2015 is a palindrome in binary (11111011111 to be exact) Given a year...

3 jours il y a

A résolu


Draw 'H'
Draw a x-by-x matrix 'H' using 1 and 0. (x is odd and bigger than 2) Example: x=5 ans= [1 0 0 0 1 1 0 0 0 1 ...

5 jours il y a

A résolu


Draw 'C'.
Given x as input, generate a x-by-x matrix 'C' using 0 and 1. example: x=4 ans= [0 1 1 1 1 0 0 0 ...

5 jours il y a

A résolu


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

5 jours il y a

A résolu


Given an unsigned integer x, find the largest y by rearranging the bits in x
Given an unsigned integer x, find the largest y by rearranging the bits in x. Example: Input x = 10 Output y is 12 ...

6 jours il y a

A résolu


Binary code (array)
Write a function which calculates the binary code of a number 'n' and gives the result as an array(vector). Example: Inpu...

6 jours il y a

A résolu


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

6 jours il y a

A résolu


The Gate of Addition
As Arjun stands at the entrance of the mysterious Lost Forest of Aryavarta, he encounters a massive ancient wooden gate covered ...

7 jours il y a

A résolu


Draw 'I'
Given n as input, draw a n-by-n matrix 'I' using 0 and 1. example: n=3 ans= [0 1 0 0 1 0 0 1 0] n=...

7 jours il y a

A résolu


The Case of the Missing Prototype – Decode the Secret Note Found on the Desk to Reveal a Hidden Message
On the lab desk, you discover a short note filled with strange letters. After examining it, you realize it’s written in a Caesa...

7 jours il y a

A résolu


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

7 jours il y a

A résolu


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

7 jours il y a

A résolu


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

7 jours il y a

A résolu


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

7 jours il y a

A résolu


The Case of the Missing Prototype – Check for Overlapping Alibis Between Suspects to Spot Inconsistencies
Each suspect in the case has provided an alibi — a time interval [start end] representing when they claim to have been elsewhere...

7 jours il y a

A résolu


The Case of the Missing Prototype – Restore the Correct Frame Order from the Corrupted Security Camera Footage
You’ve finally recovered the security camera footage from the Innovation Lab,but the system malfunctioned and stored frames in t...

7 jours il y a

A résolu


The Case of the Missing Prototype – Match the Footprints Found in the Lab to the Suspects’ Shoe Sizes
The dust on the Innovation Lab floor reveals several footprints.You’ve measured their shoe sizes and noted them in a vector size...

7 jours il y a

A résolu


The Case of the Missing Prototype – Check the Lab’s Logbook for Suspicious Late-Night Entries
After counting the fingerprints, you turn your attention to the security logbook.It records the entry hours (from 0 to 23) of ev...

7 jours il y a

A résolu


The Case of the Missing Prototype - Count the Fingerprints Found at the Lab Door to Begin Your Investigation
You arrive at the Innovation Lab where the secret prototype was stolen. The door has been dusted for fingerprints, and a technic...

7 jours il y a

A résolu


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

7 jours il y a

A résolu


What gear ratio does the cyclist need?
A cyclist (perhaps including our famed Codysolver the cyclist <http://www.mathworks.com/matlabcentral/cody/players/1841757-the...

7 jours il y a

A résolu


Draw 'B'
Draw a x-by-x matrix 'B' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 0 1 0 0 0 1 ...

7 jours il y a

A résolu


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

7 jours il y a

A résolu


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

7 jours il y a

A résolu


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

7 jours il y a

Charger plus