Community Profile

photo

Rick Amos

MathWorks

Last seen: 1 jour il y a Actif depuis 2012

Followers: 0   Following: 0

Contact

Developer at MathWorks, working on Parallel Computing Toolbox.

Statistiques

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

Afficher les badges

Feeds

Afficher par

A répondu
Reading portions of several CSV files
You might want to take a look at tabularTextDatastore and/or tall arrays. These are geared up to do exactly this kind of thing:-...

plus de 4 ans il y a | 5

A répondu
tallArray sorting and plot error
Instead of converting State to a character vector, I would recommend using one of the string utilities. These are all supported ...

presque 5 ans il y a | 0

A répondu
Pass fileDatastore explicit AWS credentials
It is currently not possible to pass explicit credentials directly into fileDatastore. Datastore retrieves the credentials in th...

presque 5 ans il y a | 0

A répondu
Too many .mat files when using Write Tall Table
As you've likely guessed, vertical concatenation of 1600 arrays results in at least 1600 files from tall/write. This is the case...

environ 5 ans il y a | 0

| A accepté

A répondu
Generate a Datastore for binary data?
As of R2017b, MATLAB now allows you to write custom datastores. This will allow you to create datastores that handle large binar...

plus de 6 ans il y a | 2

A répondu
How to check Hadoop and Matlab Integrated Properly or Not ???
To look at whether MATLAB is running on the Hadoop cluster correctly, your best bet is to look at the Hadoop/Yarn Web UI. By def...

presque 7 ans il y a | 0

| A accepté

A répondu
How to create tall datastore from multiple data parts?
A datastore can be created from a collection of folders and so the easiest way to achieve this is to place each block of data in...

plus de 7 ans il y a | 0

A répondu
Datastore for custom files
For files on Hadoop, the File Datastore makes a temporary copy of the file on the local drive to be read by the ReadFcn. The Rea...

environ 8 ans il y a | 0

| A accepté

A répondu
How to solve ' All the input files must be Sequence files. Invalid file: '' '
This error message occurred because MATLAB could not find the output files generated by the Hadoop Job. For now, this error mess...

plus de 8 ans il y a | 1

| A accepté

A répondu
How to solve" The user home directory '/homes/' for the cluster either did not exist or was not writable by the HADOOP user."
The '/homes/' folder is related to the Hadoop property 'mapreduce.admin.user.home.dir'. This is used by Hadoop to set the HOME e...

plus de 8 ans il y a | 1

| A accepté

A répondu
How to make a MAT-file that can be used to create a Datastore for MapReduce?
In R2014b there is currently not a direct way of creating a MAT file datastore. However, there are several indirect ways that wi...

plus de 9 ans il y a | 2

| A accepté

A répondu
Mapreduce does not seem to use all available cores
In R2014b, there are some limitations with the minimum size of data that can be parallelized. To avoid this limitation, the inpu...

plus de 9 ans il y a | 0

| A accepté

A répondu
MCR problems with linux/hadoop
This behavior arises because Hadoop defines the 'HOME' environment variable of task processes to be '/homes' by default. MATLAB ...

plus de 9 ans il y a | 0

A résolu


Mandelbrot Numbers
The <http://en.wikipedia.org/wiki/Mandelbrot_set Mandelbrot Set> is built around a simple iterative equation. z(1) = c z...

environ 12 ans il y a

A résolu


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

environ 12 ans il y a

A résolu


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

environ 12 ans il y a

A résolu


Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

environ 12 ans il y a

A résolu


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

environ 12 ans il y a

A résolu


Counting in Finnish
Sort a vector of single digit whole numbers alphabetically by their name, in Finnish. See the Wikipedia page for <http://en.wik...

environ 12 ans il y a

A résolu


Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

environ 12 ans il y a

A résolu


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

environ 12 ans il y a

A résolu


Renaming a field in a structure array
MATLAB has a <http://www.mathworks.com/help/techdoc/ref/setfield.html setfield> and a <http://www.mathworks.com/help/techdoc/ref...

environ 12 ans il y a

A résolu


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

environ 12 ans il y a

A résolu


Function Iterator
Given a handle fh to a function which takes a scalar input and returns a scalar output and an integer n >= 1, return a handle f...

environ 12 ans il y a

A résolu


Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

environ 12 ans il y a

A résolu


Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

environ 12 ans il y a

A résolu


Remove all the words that end with "ain"
Given the string s1, return the string s2 with the target characters removed. For example, given s1 = 'the main event' your ...

environ 12 ans il y a

A résolu


Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

environ 12 ans il y a

A résolu


Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...

environ 12 ans il y a

A résolu


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

environ 12 ans il y a

Charger plus