Community Profile

photo

Simon


Last seen: 대략 2개월 전 2022년부터 활동

통계

All
  • Thankful Level 4
  • Solver
  • First Answer

배지 보기

Content Feed

보기 기준

질문


How to select non-string variables convertvars( ) argument?
I want to convert non-string variables to string using convertvars. I can do convertvars(T, @isnumeric, 'string') and convertvar...

대략 2개월 전 | 답변 수: 1 | 0

1

답변

질문


What is the best folder organization for a large data analysis project with multilayered subprojects?
My project involves several subprojects. They should be completed in a sequential manner. And each subproject involves different...

6개월 전 | 답변 수: 0 | 0

0

답변

질문


Is there a parallel version of splitapply()?
Group-based computation is naturally sutiable for parallel computation. I wonder why Matlab has not yet a built-in parfor-splita...

7개월 전 | 답변 수: 2 | 0

2

답변

질문


readtable(html file) producing extra empty columns
Original question: In another thread, similar question was asked for readtable(csv file). The answer was to set {'delimiter', ',...

7개월 전 | 답변 수: 1 | 0

1

답변

답변 있음
What should go in a next-generation MATLAB X?
Insert 'parfor' option into splitapply( ), grouptransform( ) or create separate parallel versions of those two functions. Righ...

7개월 전 | 0

답변 있음
What should go in a next-generation MATLAB X?
@Andrew Janke Do you cast your table variables to categorical? In my case, if a task is to process strings, it will be many-time...

7개월 전 | 0

답변 있음
What should go in a next-generation MATLAB X?
My wish list, not about code improvement but about official tutorials. a tutorial of using splitapply to take advantage of para...

7개월 전 | 0

질문


Why doesn't parfeval(@splitapply) improve splitapply's performance?
I want to readtable many html-files to extract tables. I wrote a function extract_sheet to do just that. I had used parfor to pe...

7개월 전 | 답변 수: 2 | 0

2

답변

답변 있음
What should go in a next-generation MATLAB X?
Better folder path utility. Python's pathlib is powerful and very intuitive to use. Matlab's dir is cumbersome. To be the proble...

7개월 전 | 0

질문


(par)for k=1:N end; select for or parfor loop without code replication
I like to use for-loop or parfor-loop with function input flag. One way to do that is using if-else with code replication. I won...

7개월 전 | 답변 수: 1 | 1

1

답변

문제를 풀었습니다


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

8개월 전

문제를 풀었습니다


Find max
Find the maximum value of a given vector or matrix.

8개월 전

문제를 풀었습니다


Inner product of two vectors
Find the inner product of two vectors.

8개월 전

문제를 풀었습니다


Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

8개월 전

문제를 풀었습니다


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

8개월 전

문제를 풀었습니다


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

8개월 전

문제를 풀었습니다


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

8개월 전

답변 있음
(revised) What is the right way to apply parallel.pool.Constant on functional handle?
I think I found the solution: feval(). It's in the help page of broadcast variable and parfor. function res = iter_test(f, T) ...

8개월 전 | 0

| 수락됨

질문


(revised) What is the right way to apply parallel.pool.Constant on functional handle?
(original question) I use parfor-loop to process through rows of table/array. In each iteration, a function handle is called to ...

8개월 전 | 답변 수: 1 | 0

1

답변

답변 있음
(problem solved, question revised) How to select table rows with varargin and not using logical condition as input argument.
@Steven Lord I think I finally figure out how to do it based on your algorithm. Great thanks for your generous help. I think the...

9개월 전 | 0

질문


How to write one universal function to evaluate many equations?
I am working on verifying whether if equations are valid over a large data set. The challenge is that the number of equations to...

9개월 전 | 답변 수: 0 | 0

0

답변

질문


(problem solved, question revised) How to select table rows with varargin and not using logical condition as input argument.
(original question)"I have tables. Selecting rows where values meet logical conditions from them is a frequent task. It becomes ...

9개월 전 | 답변 수: 3 | 0

3

답변

질문


a philosophical question regarding function (how many tasks should be wrapped inside a function?)
My data have two types of tables. They share common columns, and the second type has extra columns. I couldn't decide whether i...

9개월 전 | 답변 수: 1 | 0

1

답변

질문


What toolboxes should I get to do speech formant analysis in real time?
I want to record speech sound with a mucrophone, and have its formants analyzed and displayed in real time. Hopefully the spectr...

10개월 전 | 답변 수: 1 | 0

1

답변

질문


Is there a less bug-prone way to include quote in selector string variable when defining opt.TableSelector?
My situation is to readtable( ) several tables, each of which has a specific title, from an html file. I have come up with a co...

11개월 전 | 답변 수: 1 | 0

1

답변

답변 있음
Storing a .mat file in mysql database
In my own experience I have tried three different approaches to store tables in MySQL. I also use Workbench (UI for MySQL comman...

11개월 전 | 0

질문


How to access data of regexp output (without temporary variable)?
I know how to convert the output from regexp( ) to a table by intermediating through a temporary variable as this solution: str...

11개월 전 | 답변 수: 4 | 0

4

답변

질문


use unstack to reshape table with dummy variable (edited: alternative crosstab method)
After I sort table according to a group variable, I like to put the group value as the 'header' column and put its members in th...

12개월 전 | 답변 수: 2 | 0

2

답변

질문


Edit: sqlwrite( ) fails when integer variable's value range is set too small.
Edit: previous wrong undestanding: "sqlwrite( ) fails to save a tall table to MySQL (native connection mode), when the number o...

대략 1년 전 | 답변 수: 1 | 0

1

답변

답변 있음
Unable to connect to MySQL (native data source configuration) on iMac
After I upgrade Matlab to 2023a, this problem is gone. I now can connect to MySQL server with "native" mode. Thanks to Mathwork...

대략 1년 전 | 0

| 수락됨

더 보기