Community Profile

Aarti Ghatkesar

MathWorks

Active since 2014

Followers: 0   Following: 0

Message

DISCLAIMER: Any advice or opinions posted here are my own, and in no way reflect that of MathWorks.

**IMPORTANT NOTE**: Please be considerate and avoid sending personal messages to contributors on this forum. All users participate voluntarily, and in their spare time. It is forum etiquette to first search for a solution to your problem on the forum to see if it has been answered before. If you do not find a solution, formulate your problem well and post it as a question on the forum. Be patient and allow time for it to be answered. There are some great tips in these discussions:

http://www.mathworks.com/matlabcentral/answers/728-how-do-i-write-a-good-question-for-matlab-answers
http://www.mathworks.com/matlabcentral/answers/20313-how-to-get-answers-for-my-unanswered-questions

Statistics

All
  • Knowledgeable Level 2
  • Revival Level 1
  • First Answer
  • Solver

View badges

Feeds

View by

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

8 years ago

Answered
Simulink plot discrete data
Hello I think the you can try to change the 'Line' marker from 'no line' option to something else for these markers to be con...

8 years ago | 0

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

9 years ago

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

9 years ago

Answered
aggregating profiles of data
Hi Asheshad The following code would do the operation of finding the mean for the columns SW1 to SW7 and write to a new file ...

9 years ago | 0

| accepted

Answered
Is there a way to set the color map and color limits of the dsp.SpectrumAnalyzer without using the spectrum properties GUI?
Hi This cannot be done as there are no command line API's available to set the color properties for Spectrum Analyzer in DSP ...

9 years ago | 0

| accepted

Answered
Is it possible to control a NI USB6009 from 64-bit Matlab 2014b in Mac OS X Yosemite?
Hi Bart Data Acquisition Toolbox is not supported on Mac OS. Refer to the <http://www.mathworks.com/products/availability/ind...

9 years ago | 0

| accepted

Answered
Building mex files on Mac Yosemite OSX.
Looks like you are using an unsupported compiler for the mex operation. The supported compiler for Mac OS for MATLAB R2015a is X...

9 years ago | 0

Answered
Report generator - center images
The following steps show how figures can be aligned to the center. Please note that these steps use the standard rpt file magic-...

9 years ago | 0

Answered
Building a Structure from a function and data from another strucutre
This happens since when you create an out variable during a call to the build function, this out variable is created in the func...

9 years ago | 0

Solved


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

9 years ago

Solved


inner product of two vectors
inner product of two vectors

9 years ago

Solved


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

9 years ago

Solved


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

9 years ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

10 years ago

Solved


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

10 years ago

Solved


radius of a spherical planet
you just measured its surface area, that is the input.

10 years ago

Solved


Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

10 years ago

Solved


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

10 years ago

Solved


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

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

10 years ago

Solved


Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

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

10 years ago

Solved


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

10 years ago

Solved


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

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

10 years ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

10 years 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. Example...

10 years ago

Solved


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

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

10 years ago

Load more