Rahul J Hirur
Bosch
Followers: 0 Following: 0
Build Tools to make world a better place.
Programming Languages:
MATLAB
MATLAB
Feeds
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
提问
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 前 | 1 个回答 | 0
1
个回答已回答
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...
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 前 | 0
已解决
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 前
已解决
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...
3 years 前
已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
3 years 前
已解决
Shorten pathname
Given a pathname string, return a condensed version by replacing intermediate folders with '..'. *Example* If fullpat...
3 years 前
已解决
Check if equal
Return true if all the elements of an nD array are equal, false otherwise.
3 years 前
已解决
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 ...
4 years 前
已解决
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...
4 years 前
已解决
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
4 years 前
已解决
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:...
4 years 前
提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 0 个回答 | 0
0
个回答提问
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 前 | 2 个回答 | 0