Community Profile

photo

Nimit Dhulekar

MathWorks

Last seen: 6 months ago Active since 2015

Senior Software Engineer

Statistics

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

View badges

Content Feed

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

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

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

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

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

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


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

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

6 years ago

Solved


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

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

6 years ago

Solved


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

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

6 years ago

Solved


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

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

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

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

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

6 years ago