Community Profile

photo

Nimit Dhulekar

MathWorks

Last seen: 26 days ago Active since 2015

Followers: 0   Following: 0

Message

Senior Software Engineer

Statistics

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

View badges

Feeds

View by

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

4 years ago | 0

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

4 years ago | 1

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

5 years ago | 0

| accepted

Answered
Adding filenames to compiled data
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...

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

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

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

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

8 years ago

Solved


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

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

8 years ago

Solved


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

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

8 years ago

Solved


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

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

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

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

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

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

8 years ago