Community Profile

photo

Will Kinsman


Last seen: casi 4 años hace Con actividad desde 2015

Followers: 0   Following: 0

Contacto

Estadísticas

  • First Review
  • Thankful Level 3

Ver insignias

Feeds

Ver por

Pregunta


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

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

más de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 8 años hace | 1 respuesta | 0

1

respuesta

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

casi 8 años hace | 0

Pregunta


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

casi 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 8 años hace | 0 respuestas | 0

0

respuestas

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

casi 8 años hace | 0

| aceptada

Pregunta


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

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

casi 8 años hace | 0 respuestas | 0

0

respuestas

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

alrededor de 8 años hace | 0

Pregunta


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

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

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

alrededor de 8 años hace | 0

Pregunta


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

alrededor de 8 años hace | 4 respuestas | 0

4

respuestas

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

más de 8 años hace | 0

Pregunta


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

más de 8 años hace | 3 respuestas | 0

3

respuestas

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

más de 8 años hace | 0

| aceptada

Pregunta


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

más de 8 años hace | 1 respuesta | 0

1

respuesta