Community Profile

photo

Aditi Singh

MathWorks

Last seen: 1 year 前 自 2022 起处于活动状态

Followers: 0   Following: 0

统计数据

  • Commenter
  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Promoter
  • Solver

查看徽章

Feeds

排序方式:

已解决


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

2 years 前

已解决


Create a vector
Create a vector from 0 to n by intervals of 2.

2 years 前

已解决


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

2 years 前

已解决


Total energy

2 years 前

已解决


Potential energy calculation

2 years 前

已解决


Kinetic energy calculation

2 years 前

已解决


Laws of motion 6

2 years 前

已解决


Laws of motion 5

2 years 前

已解决


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

2 years 前

已解决


Laws of motion 3

2 years 前

已解决


Laws of motion 2

2 years 前

已解决


Laws of motion 1

2 years 前

已解决


Path of least resistance - Move all direction
Extension of the wonderful <https://www.mathworks.com/matlabcentral/cody/problems/1049-path-of-least-resistance Problem 1049> (P...

2 years 前

已解决


Yet Another Path Finder
Assume there is a rectangular grid of points. These points are indicated by linear indices in a MATLAB-fashion. Some of the grid...

2 years 前

已解决


Break it up! Break it up!
You have N pennies. Write a Matlab script that will reveal how many different ways you can break up those pennies. For example...

2 years 前

已解决


Generate binary combinations for a given number of bit(s)
Generate the binary combination as in the example below. Example: If you are given: bin_comb(2) The answer will be: ...

2 years 前

已解决


Number of cyles and fixed points in a permutation
A permutation can be constructed from one or more sets of elements in cyclic order. A permutation in a single row vector form ...

2 years 前

已解决


Project Euler: Problem 18, Maximum path sum I
By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bott...

2 years 前

已解决


Find the path through the cell
A list of cells is given. Return true if the elements of the list increase monotonically (each element is strictly larger tha...

2 years 前

已解决


possible ways through matrix
This problem is inspired from problem 2405 <https://www.mathworks.com/matlabcentral/cody/problems/2405-the-number-of-ways>. C...

2 years 前

已解决


The Number of Ways
Find all the possible ways to reach the end of a matrix. So given [a b c d] the possible ways [a c],[a d],[b c],[b ...

2 years 前

已解决


How many rectangles in a grid ?
How many rectangles are there in an m × n grid ? For example, if m=1 & n=2, we have 3 rectangles.

2 years 前

已解决


Which way to go?
Given an m*n grid, How many ways are there to go from upper left corner to the lower right one? You can only move right...

2 years 前

已解决


Number of paths on a n-dimensional grid
This problem is inspired by <https://www.mathworks.com/matlabcentral/cody/problems/1483-number-of-paths-on-a-grid> and <https:/...

2 years 前

加载更多