Community Profile

photo

Divyaprakash


Indian Institute of Technology Delhi

Last seen: 5 days ago Active since 2020

PhD Student Applied Mechanics

Programming Languages:
Python, C++, C, MATLAB, Fortran
Spoken Languages:
English, French, Hindi

Statistics

All
  • Thankful Level 2
  • MATLAB Flipbook Mini Hack Participant
  • 5-Star Galaxy Level 1
  • GitHub Submissions Level 3
  • Personal Best Downloads Level 2
  • MATLAB Central Treasure Hunt Finisher
  • First Submission
  • First Review
  • Solver

View badges

Content Feed

View by

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

4 months ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

4 months ago

Solved


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

4 months ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

4 months ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

2 years ago

Solved


Find max
Find the maximum value of a given vector or matrix.

2 years ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

2 years ago

Solved


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

2 years ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

2 years ago

Solved


Inner product of two vectors
Find the inner product of two vectors.

2 years ago

Solved


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

2 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

2 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

2 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

3 years ago