Community Profile

photo

Ganesh

MathWorks

Last seen: 1 month 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.

Statistics

All
  • Solver
  • Knowledgeable Level 1
  • First Answer

View badges

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

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

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

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

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

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

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

1 year ago

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

2 years ago | 0

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

2 years ago | 0

| accepted