photo

Shubham Shubham


Last seen: Today Active since 2022

Followers: 0   Following: 1

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

Statistics

All
MATLAB Answers

1 Question
0 Answers

Cody

1 Problem
289 Solutions

RANK
242,384
of 300,527

REPUTATION
0

CONTRIBUTIONS
1 Question
0 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
0

RANK
 of 21,018

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
465
of 169,525

CONTRIBUTIONS
1 Problem
289 Solutions

SCORE
3,871

NUMBER OF BADGES
17

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • 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


Leaderboard for the Nedball World Cup
At the upcoming inaugural Nedball World Cup, organizers need to track who is in the lead for the coveted Golden Toeplitz trophy,...

44 minutes ago

Solved


"Low : High - Low : High - Turn around " -- Create a subindices vector
Let two vectors *lo* and *hi* be given. The job is to create a index vector like so idx = [lo(1):hi(1) lo(2):hi(2) ...]...

1 day ago

Solved


middleAsColumn: Return all but first and last element as a column vector
Given input A, return all but the first and last elements, arranged as a column vector. (I.e., all dimensions after the first s...

2 days ago

Solved


First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero i...

3 days ago

Solved


Remove the two elements next to NaN value
The aim is to *remove the two elements next to NaN values* inside a vector. For example: x = [6 10 5 8 9 NaN 23 9 7 3 21 ...

4 days ago

Solved


Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).

5 days ago

Solved


Government of the Neds, by the Neds, for the Neds - Distribute the Nedsburg City Councilors
The city of Nedsburg consists of several islands, the number of which changes regularly, due to tectonic forces, shoddy civil en...

7 days ago

Solved


Convert Hexavigesimal to Decimal
NASA (Ned’s Alien-Spying Agency) have made contact with a 13-fingered race from the planet Genai. Naturally, Ned’s shadowy opera...

7 days ago

Solved


Specific Element Count
Given a vector _v_ and a element _e_, return the number of occurrences of _e_ in _v_. Note: NaNs are equal and there may be n...

8 days ago

Solved


Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

8 days ago

Solved


Return elements unique to either input
Given two numeric inputs a and b, return a row vector that contains the numbers found in only a or only b, but not both. For ex...

8 days ago

Solved


Getting the indices from a matrix
Inspired by Problem 645. Getting the indices from a matrix. Given a matrix A (or a vector), return the indices (always in row...

8 days ago

Solved


Reindex a vector
You are given two vectors of equal length. Vector N has numeric values (no Inf or NaN) while vector IDX has integers. Place th...

9 days ago

Solved


Return unique values without sorting
If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The values of B are in the same order a...

9 days ago

Solved


Getting logical indexes
This is a basic MATLAB operation. It is for instructional purposes. --- Logical indexing works like this. thresh = 4...

10 days ago

Solved


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

10 days ago

Solved


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

11 days ago

Solved


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

11 days ago

Solved


Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

11 days ago

Solved


Convert radians to degrees
Given input in radians, output to degrees

11 days ago

Solved


radius of a spherical planet
You just measured its surface area, that is the input.

11 days ago

Solved


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

12 days ago

Solved


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

12 days ago

Solved


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

1 year ago

Solved


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

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

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

1 year ago

Solved


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

1 year ago

Solved


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

1 year ago

Solved


find the index of a number

1 year ago

Load more