Community Profile # Nimit Dhulekar

### MathWorks

Last seen: 2 years ago Active since 2015

Senior Software Engineer

#### Statistics

All
• • • • #### Content Feed

View by

Is there a list of datastore SelectedFormats?
Hi Michael, The SelectedFormats property of TabularTextDatastore accepts all formats that are accepted by textscan. You can see...

3 years ago | 0

Datastore won't recognize datetime in CSV files (Matlab 2019b)
Hi Michael, Are you executing these set of commands from outside the US? If so, the datetime formats available would be differe...

3 years ago | 1

fileDatastore of files with different extensions
Hi Gary, I looked at the attached files and it appears that you are only interested in data in a handful of lines (4 to be exac...

4 years ago | 0

| accepted

I am not completely certain about the phrasing in your question: "add the file's name before each of the data sets". This is a p...

4 years ago | 0

| accepted

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

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

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

7 years ago

Solved

Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

7 years ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

7 years ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

7 years ago

Solved

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

7 years ago

Solved

Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

7 years ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

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

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

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

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

7 years ago

Solved

Low level NaN
I have a dataset. Columns represents different variables. A variable may start with NaN or any double type number. If it start...

7 years ago