photo

Will Kinsman


Last seen: mer än 4 år ago Active since 2015

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Thankful Level 3

View badges

Feeds

View by

Question


character array vs cell array empty cells
I have an array, which is identified by iscell() as a cell array but behaves like a character array: 'jan 7' '2' '' ...

ungefär 8 år ago | 1 answer | 0

1

answer

Question


A lagged javascript function prevents webread from getting all data from a webpage. Resolve?
So I am trying to get earnings dates from Yahoo. Their API does not have references for this, however their webpage runs a javas...

ungefär 8 år ago | 0 answers | 0

0

answers

Question


Fastest way to cycle through a structure for a number
given: a structure and a double return: the index of a structure that has that number data: structure(1).val = 50 st...

mer än 8 år ago | 2 answers | 0

2

answers

Question


Fastest way to determine if a character index is a carriage return (\n)?
Hi all. 1.15 seconds per 100,000 iterations: if regexp(text(index),'[\n]','once') y = 1; else y = 0; ...

mer än 8 år ago | 2 answers | 0

2

answers

Question


Puzzler: Count unique nonzero periods in a timeseries without a for loop
given: a signal as a time series return: discrete number of times is is holds a nonzero position For example: given: ...

mer än 8 år ago | 2 answers | 0

2

answers

Question


how to identify a fitglm output as being rank deficient from the resulting object
My question is as follows: I am running a very large number of multivariable regressions. My problem is that sometimes these...

mer än 8 år ago | 1 answer | 0

1

answer

Question


How can I get all text from a website, NOT the html of the website?
What I would like: Given: url (e.g. www.google.com) Return: All text. This would be the equivalent of ctrl+A in a brows...

mer än 8 år ago | 1 answer | 0

1

answer

Answered
How to output a vector that is the sum of each slice or page from a 3D array on GPU
Solution: array = ones(3,3,5,'gpuArray'); % create a 3x3x5 array of ones on GPU array = sum(array); % su...

mer än 8 år ago | 0

Question


How to output a vector that is the sum of each slice or page from a 3D array on GPU
_i7 quadcore, GTX Geforce 960 running CUDA driver, Matlab 2014b_ My process I am trying to accomplish: # Send a 3D array t...

mer än 8 år ago | 2 answers | 0

2

answers

Question


Pass a connection to a database inside of a parfor loop, within a function
I am trying to open and close a function within a parfor loop, within a function: lets look at an example: a = 1; conn ...

mer än 8 år ago | 0 answers | 0

0

answers

Answered
Mode of table sizes within a structure
With a little modification the above solution worked with acceptable speed

mer än 8 år ago | 0

| accepted

Question


Mode of table sizes within a structure
I have a structure we will call 'structure'. it has tables in it of varying sizes. i want to find the mode of the table sizes wi...

mer än 8 år ago | 1 answer | 0

1

answer

Question


datainsert is throwing an error due to a preexisting primary key. How can I make it keep going on error?
In using datainsert, I am inserting about 50k rows into my database (mySQL,JDBC). My problem is that I keep on getting thrown er...

mer än 8 år ago | 0 answers | 0

0

answers

Answered
How to go from a char that is a CSV to a cell array
After messing around a little bit it seems to me that the simplest solution may to be: outputcellarray = readtext(inputchar...

mer än 8 år ago | 0

Question


How to go from a char that is a CSV to a cell array
Hello all, I have a char variable that is essentially a CSV file, however all attempts to turn it into a cell array (through ...

mer än 8 år ago | 2 answers | 0

2

answers

Question


webread is not getting all text on a website
Hi all, I am trying to build a program to get the plain text from a website. The issue I am encountering is that webread does...

mer än 8 år ago | 1 answer | 0

1

answer

Answered
finding carriage returns (i.e. \n) in a text file
thank you so much. nailed it. Nothing better than the matlab forums.

nästan 9 år ago | 0

Question


finding carriage returns (i.e. \n) in a text file
Hi all, I have a text file with carriage returns in it, and am trying to test if an index is a carriage return but have been un...

nästan 9 år ago | 4 answers | 0

4

answers

Answered
How may I dynamically refer to a loaded mat array to modify or save it
The code ended up looking like this and used the eval() function function addtolist(list,string) filename = [list '.ma...

nästan 9 år ago | 0

Question


How may I dynamically refer to a loaded mat array to modify or save it
I am trying to write a simple piece of code where I provide a function with a list name (as a string) and a new string to add to...

nästan 9 år ago | 3 answers | 0

3

answers

Answered
How do I search for a string in a text file that has carriage returns within the string
str = regexprep(str,'\r\n|\n|\r',' ') or strtrim to remove formatting from the string and THEN doing a string search solves...

nästan 9 år ago | 0

| accepted

Question


How do I search for a string in a text file that has carriage returns within the string
I have a text file I am trying to locate strings. Lets say that the txt file looked like this: 'hello world' When I s...

nästan 9 år ago | 1 answer | 0

1

answer