Community Profile

photo

Rahul J Hirur


Bosch

Last seen: 1 year ago Active since 2020

Followers: 0   Following: 0

Build Tools to make world a better place.

Programming Languages:
MATLAB

Statistics

All
  • First Answer
  • Thankful Level 2
  • MATLAB Central Treasure Hunt Finisher
  • Promoter
  • Solver
  • Thankful Level 1

View badges

Feeds

View by

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

2 years ago

Solved


Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

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


Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

2 years ago

Solved


Find relatively common elements in matrix rows
You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...

2 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

2 years ago

Solved


Get the area codes from a list of phone numbers
Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes. s = '508-647...

2 years ago

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

2 years ago

Solved


Word Counting and Indexing
You are given a list of strings, each being a list of words divided by spaces. Break the strings into words, then return a maste...

2 years ago

Solved


Given two arrays, find the maximum overlap
Given two arrays s1 and s2, create a new array s3 which is as short as possible and contains both arrays. If s1 = [1 2 3 4 5]...

2 years ago

Solved


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

2 years ago

Question


Print Messages into Windows Command Window
Hello all, I am running a Matlab script in Windows Command Window. I want to print messages into the same windows Command Windo...

2 years ago | 1 answer | 0

1

answer

Answered
System and System.Diagnostics.Process
Hello Walter, @Walter Mabry , Were you able to print ouptput in the console/windows command prompt ? If you were sucessful, C...

2 years ago | 0

Solved


Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...

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

2 years ago

Solved


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

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


Shorten pathname
Given a pathname string, return a condensed version by replacing intermediate folders with '..'. *Example* If fullpat...

2 years ago

Solved


Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

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

3 years ago

Solved


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

3 years ago

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

3 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

Question


Matlab appdesigner UIAxes data retrieval
Hello, I have been working on appdesigner's UIAxes. I create a graph using uiaxes and I zoom into it. I have attached the two i...

3 years ago | 1 answer | 0

1

answer

Question


Find periods or peaks between the periodic wave forms
I am having trouble find the distance between two peaks of a periodic wave. Is there any wave to find out the peaks so that i fi...

3 years ago | 0 answers | 0

0

answers

Question


Creating all possible combination of a letter/string
Hello everyone, I was wondering is there a way to create all possible combination of a word in terms of uppercase and lowercase...

4 years ago | 2 answers | 0

2

answers