photo

Will Kinsman


Last seen: oltre 4 anni fa Attivo dal 2015

Followers: 0   Following: 0

Messaggio

Statistica

  • First Review
  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

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

oltre 8 anni fa | 0

Domanda


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

oltre 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 8 anni fa | 0 risposte | 0

0

risposte

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

oltre 8 anni fa | 0

| accettato

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 0 risposte | 0

0

risposte

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

oltre 8 anni fa | 0

Domanda


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

oltre 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

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

quasi 9 anni fa | 0

Domanda


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

quasi 9 anni fa | 4 risposte | 0

4

risposte

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

quasi 9 anni fa | 0

Domanda


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

quasi 9 anni fa | 3 risposte | 0

3

risposte

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

quasi 9 anni fa | 0

| accettato

Domanda


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

quasi 9 anni fa | 1 risposta | 0

1

risposta