Community Profile

photo

Rahul J Hirur


Bosch

Last seen: plus d'un an il y a Actif depuis 2020

Build Tools to make world a better place.

Programming Languages:
MATLAB

Statistiques

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

Afficher les badges

Content Feed

Afficher par

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

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

presque 2 ans il y a | 1 réponse | 0

1

réponse

A répondu
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...

presque 2 ans il y a | 0

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


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

environ 2 ans il y a

A résolu


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

environ 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

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

plus de 3 ans il y a | 1 réponse | 0

0

réponse

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

presque 4 ans il y a | 2 réponses | 0

2

réponses