photo

Hau Kit Yong


Last seen: bijna 4 jaar ago Active since 2018

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Get supersets from cell array of doubles
I have a cell array of doubles, e.g. C{1} = [1,2,3,4]; C{2} = [3,4,5,6,7,8]; C{3} = [2,3]; C{4} = [7,8,9,10]; C{5} = [1,2,...

bijna 4 jaar ago | 1 answer | 0

1

answer

Question


How to plot Design Structure Matrix?
How can I plot a Design Structure Matrix (DSM) in MATLAB? Here is an example DSM: I have tried storing my connections in a ...

ongeveer 5 jaar ago | 1 answer | 0

1

answer

Question


Symbolic substitution for variable subscripts
How should I perform the following substitution: ? Can the subs function be used? Or do I have to take a manual approach and use...

ongeveer 5 jaar ago | 0 answers | 0

0

answers

Question


Qualification for checking objects with respect to an interface
I want to write some tests to check if my objects have implemented an interface correctly. The outline of my test is as follows:...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


regex: Extract then delete
Is there a regex function that can extract matched strings and delete them after? I would like to do this without searching over...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


regexp: Extract optional named tokens
I would like to extract some information from the following text: There are 3 groups in the text. I want to extract the gende...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


Writing classes with parallel properties (R2016b)
I am trying to write a class to hold finite element model data. I have decided to write a 'Grid' class to represent the grid poi...

meer dan 5 jaar ago | 0 answers | 0

0

answers

Question


Split cell array rows by delimiter (2016b)
I have a vertical cell array of char vectors that I want to split into smaller vertical cell arrays based on rows in the array t...

meer dan 5 jaar ago | 1 answer | 1

1

answer

Question


Extracting consecutive digits using regexp
I expected regexp('ITEM 123', '.+(\d+)', 'tokens') to return '123'. Why does it only return '3'? What would be the correct exp...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


How to rename the MATLAB Drive Connector folder?
Is there a simple way to rename a Drive Connector folder? I've tried everything bar uninstalling the Drive Connector or deleting...

meer dan 5 jaar ago | 0 answers | 0

0

answers

Question


Purpose of error identifiers
I am curious about the practical uses of error identifiers, for example the 'identifier' property in MException objects. From ...

meer dan 5 jaar ago | 1 answer | 1

1

answer

Question


Creating pointers for arrays
I have a global array of values which will be operated on by a set of objects. Each of my objects operate on subsets of this glo...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


Can I write type converters for a custom class?
I want to write a method in my custom classes to return string representations of instantiated objects (similar to writing a "__...

meer dan 5 jaar ago | 0 answers | 1

0

answers

Question


Correct way to specify default property values when constructor uses inputParser.
As per the title, I have a class where the constructor passes a varargin input argument into inputParser, which I set up by usin...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


Simplify symbolic expression for the Taylor series
I have written some code that generates a system of symbolic, nonlinear equations based on Taylor series expansions. For example...

meer dan 5 jaar ago | 0 answers | 0

0

answers

Question


Extracting elements from cell array of matrices
Say I have a 101x101 cell array, where each element is a 3x3 matrix. How can I extract the (1,1) element of each of the 101x101 ...

ongeveer 6 jaar ago | 1 answer | 0

1

answer

Question


Injecting a trust region radius within fmincon
I understand that most algorithms in fmincon are trust-region methods. However, I would like to inject my own trust region updat...

ongeveer 6 jaar ago | 1 answer | 0

1

answer

Question


Non-existent fields in optimValues
I am writing an output function to plot out certain parameters during an optimization. I am using fmincon with the SQP algorithm...

ongeveer 6 jaar ago | 1 answer | 0

1

answer

Question


How can I call intermediate functions within fmincon?
I am trying to minimize a nonlinear problem using fmincon. The evaluation of my objective, f, and constraints, g, require not on...

ongeveer 6 jaar ago | 1 answer | 0

1

answer

Question


num2str for strict string lengths
I have an array of numbers with varying orders of magnitude that I want to convert to strings that are of fixed lengths. The str...

bijna 7 jaar ago | 1 answer | 0

1

answer