photo

Aakash

MathWorks

Last seen: meer dan een jaar ago Active since 2023

Followers: 0   Following: 0

I am a summer intern at Mathworks. I currently work in CAD and 3D team here. My hobbies include following geopolitics and playing cricket and table tennis. DISCLAIMER: All opinions I express here on this forum are of my own, and not representative of Mathworks.

Programming Languages:
Python, C++, C, Javascript, MATLAB, SQL, HTML, CSS
Spoken Languages:
English, Hindi
Pronouns:
He/him
Professional Interests:
Programming, Statistics and Machine Learning Applications

Statistics

  • Solver

View badges

Feeds

View by

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Input...

meer dan een jaar ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

meer dan een jaar 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...

meer dan een jaar ago

Solved


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

meer dan een jaar ago

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

meer dan een jaar ago

Solved


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

meer dan een jaar ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

meer dan een jaar ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

meer dan een jaar ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

meer dan een jaar 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:...

meer dan een jaar ago