Community Profile

# Ganesh

### MathWorks

Last seen: 5 months ago Active since 2022

I am an Associate Product Engineer Intern, working with MathWorks. I work with development and providing support to the best of my knowledge within the MathWorks Community.

All

#### Content Feed

View by

Solved

Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

5 months ago

Solved

Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

5 months ago

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

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

5 months ago

Solved

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

5 months 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. Examp...

5 months 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:...

5 months ago

For Loop How to use previous calculated value in next iteration
Hi @Iris Willaert, This is something that you can do. PercentageIntervalTimes = zeros(length(Time)); PercentageIntervalTimes(...

6 months ago | 0

plotting using if and for loop
Hi @mhya k, The issue seems to be 3 things. a) The elements aren't dot squared(line 10) b) y1, and y2 are integers but are ...

6 months ago | 0

| accepted