Community Profile

photo

Varun Garg


Active since 2018

Statistics

All
  • Knowledgeable Level 2
  • First Answer
  • Commenter
  • Solver

View badges

Content Feed

View by

Answered
Do you have authorized sole distributor in pakistan please provide the name and contract particulars
This is a knowledge sharing forum. For product details or distributor information, I guess you should call or email them directl...

6 years ago | 0

Answered
how can i solve this differential equation through MATLAB?
Hi. I am not clear if you are stuck with this differential equation or you don't have much idea as to how to work with different...

6 years ago | 0

Answered
how can I measure the distance between camera and object usingle single camera
I think a similar kind of question has been asked and also accepted. Please have a look at <https://www.mathworks.com/matlabcent...

6 years ago | 0

Answered
Can I modify values in a vector within a for loop for a recursive function?
I think you are not clear about the syntax of function A sample snippet : function y=printNumbers(x) for i...

6 years ago | 0

Answered
How to save .mha file in .jpg .png format ???
One way is to use *VV* . It is an open-source and cross platform image viewer. I would suggest using <https://www.creatis.insa-...

6 years ago | 1

| accepted

Answered
Minimize the cost of a quality control system
I think you should go through the following functions which should get your work done. integral You can find the related...

6 years ago | 0

| accepted

Answered
Plot shell boundary in 3D
Hi Hadi, I understand from your question that you want a better graph plot than scatter plot and preferably something continu...

6 years ago | 0

Answered
How to get standardized values from the given array of of normalized values?
I couldn't find any direct function for this. I suggest the following workaround: Convert your normalized values to actual valu...

6 years ago | 0

| accepted

Answered
Plot where x axis is the date, Part 2 (edited)
Suppose you want to plot a graph for dates between July 1,2012 to July 1,2016. One possible implementation is as follows: x...

6 years ago | 0

| accepted

Answered
How to See Regionprops Results on Seperate Windows
Hi Murat, I understand from your question that you want to see your table *s* in a separate window. I think <https://www.math...

6 years ago | 0

| accepted

Answered
Question about functions in MATLAB
Hi Girish As it has already been mentioned that the first code is function and the other one is a script. I suppose you ge...

6 years ago | 0

| accepted

Answered
How can I zoom in on the scatter plot? (Classification Learner)
Hi SungMi I understand from your question that you have a graph which you want to zoom in on for probably better view of the ...

6 years ago | 0

Answered
contour plot not working because of duplicate value
Hi Samaneh, My understanding of your question is that for the vectors *X* and *Y* you want to find values which are common in...

6 years ago | 0

Solved


The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

6 years ago

Solved


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

6 years ago

Solved


Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

6 years ago

Solved


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

6 years ago

Solved


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

6 years ago

Solved


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

6 years ago

Solved


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

6 years ago

Solved


Clean the List of Names
Given a list of names in a cell array, remove any duplications that result from different capitalizations of the same string. So...

6 years ago

Solved


Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

6 years ago

Solved


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

6 years ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

6 years ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

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

6 years ago

Solved


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

6 years ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

6 years ago

Solved


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

6 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 other numbers. Otherwise return false. E...

6 years ago

Load more