Community Profile

photo

Hau Kit Yong


Last seen: etwa 3 Jahre vor Aktiv seit 2018

Followers: 0   Following: 0

Kontakt

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 5 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 5 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 0 Antworten | 1

0

Antworten

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort