photo

Shubham Shubham


Last seen: 9 dagen ago Active since 2022

Followers: 0   Following: 1

Programming Languages:
Python, MATLAB
Spoken Languages:
English, Hindi, German
Pronouns:
He/him

Statistics

All
  • Creator
  • Thankful Level 1
  • Cody 10th Anniversary 10-Day Streak
  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Commenter
  • Promoter
  • Community Group Solver
  • Solver

View badges

Feeds

View by

Solved


Find sum of alternate numbers in a vector
Find sum of alternate numbers in a vector starting from index 1

ongeveer 2 maanden ago

Solved


Set x value to each even index of vector y.
Set x value to each even index of vector y.

ongeveer 2 maanden ago

Solved


Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

ongeveer 2 maanden ago

Solved


Finding an element in a vector
x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...

ongeveer 2 maanden ago

Solved


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

ongeveer 2 maanden ago

Solved


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

ongeveer 2 maanden ago

Solved


find the index of a number

ongeveer 2 maanden ago

Solved


Getting values from a vector
This exercise is for finding the values that meet your criteria. a = [-5 28 7 83 73]; b = 23 ; c = (a > b) Then : c = ...

ongeveer 2 maanden ago

Solved


Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...

2 maanden ago

Solved


Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...

2 maanden ago

Solved


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

4 maanden ago

Solved


Generate a NaN...on purpose
The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...

4 maanden ago

Solved


Determine if a row vector has NaN
Determine if a row vector x has NaN

4 maanden ago

Solved


calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

4 maanden ago

Solved


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

4 maanden ago

Solved


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

4 maanden ago

Solved


Find the biggest empty box
You are given a matrix that contains only ones and zeros. Think of the ones as columns in an otherwise empty floor plan. You wan...

9 maanden ago

Solved


How many trades represent all the profit?
Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

9 maanden ago

Solved


Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

9 maanden ago

Solved


Make a run-length companion vector
Given a vector x, return a vector r that indicates the run length of any value in x. Each element in r shows how many times the ...

9 maanden ago

Solved


Flag largest magnitude swings as they occur
You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching through thi...

9 maanden ago

Solved


Implement simple rotation cypher
If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

9 maanden ago

Solved


Sort Reversal
There are n index cards in a row, with n distinct integers written on them (one number per card) so that the numbers are sorted ...

9 maanden ago

Solved


Implement a bubble sort technique and output the number of swaps required
A bubble sort technique compares adjacent items and swaps them if they are in the wrong order. This is done recursively until al...

9 maanden ago

Solved


Bubble sort
Write your own bubble sort function ( <https://en.wikipedia.org/wiki/Bubble_sort>) to sort all elements in x in ascending order....

9 maanden ago

Solved


Basic Mathematics 1
If a robot is traveling on a north heading at v1 inches per second and has the ability to only make N degree changes in directio...

9 maanden ago

Solved


Basic Mathematics 8
A robot is extending its arm and attempting to reach a game piece that is X” away and Yg ” off the ground. The base of the arm i...

9 maanden ago

Solved


Current through resistor
Three resistors (R2, R3, R4) are connected in parallel as shown in the figure. If this combination is connected in series with ...

9 maanden ago

Solved


Basic Mathematics 6
A High School is trying to build their robot to be able to reach the hanging object which is H inches from the ground. Their ro...

9 maanden ago

Solved


Basic Mathematics 7
Three generous robotics team mentors would jointly like to donate $N toward extra supplies. The second mentor is donating twice ...

9 maanden ago

Load more