photo

Louis


MIT

Last seen: 7 months ago Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


NxA array and Nx1 array into Nx(A+1) table
I have a variable x that is NxA and a variable y that is Nx1. I just want to have a table that is Nx(A+1) that is essentially x...

2 years ago | 1 answer | 0

1

answer

Question


cvpartition with different selection of input features per fold
I am currently utilizing cvpartition to perform k-fold cross validation. A simplified code I am using looks like below: % crea...

2 years ago | 1 answer | 0

1

answer

Question


actxserver move data in entire row few rows down
I am trying to use actxserver to format header row in an excel spreadsheet. Before I manipulate header row, I would like to shi...

4 years ago | 1 answer | 0

1

answer

Question


How to unit test several different functions that take the same input arguments efficiently?
This is my first time writing unit tests, so advice from experienced users will be greatly appreciated. I have several comput...

4 years ago | 3 answers | 2

3

answers

Question


Unit test can't see the function it needs to test
This is my first time creating unittest, and I am having trouble directing unitTestClass to see the function it tests, which liv...

4 years ago | 1 answer | 0

1

answer

Question


Passing formatted string output of sprintf to fprintf
I have a writeToLog function which takes formatted string and uses fprintf to print the formated string to both a log file and t...

4 years ago | 2 answers | 0

2

answers

Question


Genetic Algorithm (GA) for binary (bitstring) population type - how will crossover and mutation work on binary vectors?
I am trying to run genetic algorithm with binary array as population type by setting 'PopulationType' to 'bitstring' in optimopt...

4 years ago | 1 answer | 0

1

answer

Question


fprintf to print to both file and command window
I'd like to run a single fprintf operation to print to both command window and file. I know that the below command only print t...

4 years ago | 2 answers | 0

2

answers

Question


Hyperparameter optimization using bayesopt - what does 'Transform' value of 'log' do in optimizableVariable?
MATLAB documentation on https://www.mathworks.com/help/stats/optimizablevariable.html gives the following example for setting a...

4 years ago | 1 answer | 0

1

answer

Question


Hyperparamter optimization - how to manually specify SVM kernel functions to try using optimizableVariable
I am following the example here to perform hyperparameter optimization by specifying possible candidate values of parameters: h...

4 years ago | 3 answers | 0

3

answers

Question


Print parameters of classification model
I have trained classification models for which I am writing a result-display function to print information about the trained mod...

4 years ago | 0 answers | 0

0

answers

Question


finding all possible polynomial combinations of n variables
I am trying to create additional polynomial features (with polynomial degree up to p where p can be anywhere between 1 to 10) to...

5 years ago | 2 answers | 0

2

answers

Question


inner join two tables treating NaN entries as identical
I would like to innerjoin multiple tables where key columns contain many NaN values, and merging the tables remove these entries...

5 years ago | 1 answer | 0

1

answer

Question


appdesigner's ui axes update is extremely slow and laggy
I would like to show real-time streaming of 4 signals coming in at 60Hz via ui axes through using appdesigner. I have used both...

6 years ago | 1 answer | 2

1

answer

Question


Multiple figures of varying sizes into a single figure
I have 3 figures (of varying sizes) generated from 3 functions I wrote, and each generated figure is of very different size, cus...

6 years ago | 1 answer | 0

1

answer

Question


How to align properly using sprintf?
I am trying to display information in subplot using sprintf to create messages. Sample code that I am using is below - even tho...

6 years ago | 1 answer | 0

1

answer

Question


Strcat multiple cell arrays not outputing expected output
Hello, below is the sample code that I am using to generate cell array of labels labels = strcat(repmat({'sample'}, 100,1),...

8 years ago | 1 answer | 0

1

answer

Question


ismembertol - inconsistent results compared to documentation
Hello, Let me first start by quoting MATLAB documentation on the function _ismembertol_ found here: http://www.mathworks.com...

8 years ago | 1 answer | 0

1

answer

Question


How to fix slow GUI plotting using axes(handles...)
I have a gui with multiple plots updating through while loop once user presses 'Start' button. The issue I have is that gui is ...

9 years ago | 1 answer | 0

1

answer

Question


MATLAB GUI Updating plot
I have a MATLAB gui that demonstrates the plotting of real-time incoming data signal and a horizontal threshold line: a...

9 years ago | 1 answer | 0

1

answer

Question


Using nested for loops inside parfor
Hi, I have upper triangle portion of _n_ by _n_ matrix to fill with _s_ sample values (consider undirected and fully connecte...

10 years ago | 2 answers | 1

2

answers

Question


Code that creates a scale-free (preferential attachment) graph edge list - Is there a better or more efficient way to code this?
Hello, I am trying to create a scale-free graph (network) edge list. By edge list, I mean M-by-2 matrix with first column repr...

11 years ago | 0 answers | 0

0

answers

Question


Efficient way to identify duplicate edges.
Hello, I am having trouble coming up with efficient method to identify duplicate edges given the edge list. Assume we have...

11 years ago | 2 answers | 0

2

answers

Question


How to replace certain values in an array without using for-loop?
I have a very long array of length couple million. Say, A=[1;2;3;4;5;2;3;4;1;....] I have another array of different length (or...

11 years ago | 1 answer | 0

1

answer

Question


How to average multiple vectors of different lengths?
I am taking multiple measurements (50~100) and want to take the mean of the measurements. Here is how I am going about doing ...

11 years ago | 2 answers | 0

2

answers

Question


Issue with generating small-world network - how to treat a single node that is left with no nodes to connect to?
I am trying to generate a variation of small-world network. I would like to specify number of nodes, number of local connecti...

11 years ago | 1 answer | 0

1

answer

Question


How to exclude specific values from a vector?
I have two arrays of unmatching sizes. For example: A=[1;2;3;4;5;7;14;76;89] B=[2;3;14] What I would like as an outpu...

11 years ago | 1 answer | 1

1

answer