Cedric Kotitschke
Followers: 0 Following: 0
Feeds
提问
Turn slTuner into genss
When using a slTuner object, I can call methods like getIOTransfer to get the closedloop and getLoopTransfer to get the openloop...
2 months 前 | 1 个回答 | 0
1
个回答提问
Auto complete inputs of method using object property
Hey, I have a class with a property that I would like to use for auto completion: classdef TestClass properties ...
2 months 前 | 1 个回答 | 0
1
个回答提问
Simulate closed loop system with saturated controller output in Matlab
Hey, I'd like to simulate a closed-loop system in Matlab (not Simulink) whereby the controller output (the input to the plant) ...
3 months 前 | 2 个回答 | 0
2
个回答提问
How to determine if an object is a built-in class?
How can I determine if an object is a built-in class? Not only doubles, structs, strings and all those base data types but also...
7 months 前 | 1 个回答 | 0
1
个回答提问
Swap shape of cell array full of arrays
Hey, I have a nxn cell array where each element contains a 1xm array. How do I turn this into a 1xm cell array where each elem...
10 months 前 | 2 个回答 | 0
2
个回答提问
Store intermediate results of cost function when solver is run in parallel
Hey, I have a cost function that is comprised of two intermediate results f1 and f2. When I run some solver to minimize this f...
11 months 前 | 1 个回答 | 0
1
个回答已回答
export_fig of multiple overlayed images only saves one image
Why not use saveas? saveas(gcf,'figname.pdf')
export_fig of multiple overlayed images only saves one image
Why not use saveas? saveas(gcf,'figname.pdf')
1 year 前 | 0
已回答
Way to save figures to .fig file as visible from matlab live script?
Why don't you set the visible property to 'off' after saving? set(gcf, 'Visible', 'on') saveas(gcf, 'figurename.fig') set(g...
Way to save figures to .fig file as visible from matlab live script?
Why don't you set the visible property to 'off' after saving? set(gcf, 'Visible', 'on') saveas(gcf, 'figurename.fig') set(g...
1 year 前 | 0
提问
How do I restore my Simulink Favourite Commands?
Hello, my Matlab did not start so I followed the advice to rename the preference folder and create a new, blank reference folde...
1 year 前 | 1 个回答 | 0
1
个回答已回答
Extract several matrices from single column vector
For everyone who also struggles with this, here's my solution. It is clunky but that's only because genmat objects are buggy whe...
Extract several matrices from single column vector
For everyone who also struggles with this, here's my solution. It is clunky but that's only because genmat objects are buggy whe...
1 year 前 | 0
| 已接受
提问
Extract several matrices from single column vector
Hey, I have three matrices A, B, C, D which I flatten to a single column vector: J = [A(:); B(:); C(:); D(:)] How can I used...
1 year 前 | 1 个回答 | 0
1
个回答提问
Copy simulink block programmatically
Hey, I have a very simple problem for which I am not able to find an answer. How exactly do I copy a block in Simulink program...
1 year 前 | 1 个回答 | 0
1
个回答提问
Convert symbolic inequality to matrix form
Let's say I have a symbolic inequality: 2*x + 3*y <= 5 Is there a way to elegantly extract the matrices A, b for the equivalen...
1 year 前 | 2 个回答 | 0
2
个回答提问
Extract one-dimensional timeseries from multidimensional timeseries
Hey, I have a timeseries with Time: [nx1] and Data: [3x1xn] (output from a Simulink model) How can I get a timeseries based on...
1 year 前 | 1 个回答 | 0
1
个回答提问
Rearrange cell array of strings based on occurrence in another cell array of string
Hey, I have two cell arrays of string. Let's call them A and B: A = {'test1', 'test2'}; B = {'here_test2_occurs', 'here_tes...
1 year 前 | 1 个回答 | 0
1
个回答提问
Find model references within model references
Hello, I'm trying to find a model reference within a large simulink model which contains multiple model references, often als...
2 years 前 | 1 个回答 | 0
1
个回答提问
Programmatically add annotation with an equation to simulink
Hey all, I'm trying to add an annotation to a Simulink model which includes an equation using Latex syntax. However, all I get ...
2 years 前 | 1 个回答 | 0
1
个回答提问
Extract operations from symbolic expression
Hello, given a symbolic expression, I want to extract the fundamental operations that take place in this symbolic expression....
2 years 前 | 1 个回答 | 0
1
个回答提问
ICDF for values very close to one
Hey, I have a problem where I have to transform random variables from the standard normal space to some other, arbitrary dist...
2 years 前 | 1 个回答 | 0
1
个回答已回答
Change constraints within optimization loop
Found the answer: the class of current_analysis is a subclass of the dynamicprops superclass and the properties are SetObserv...
Change constraints within optimization loop
Found the answer: the class of current_analysis is a subclass of the dynamicprops superclass and the properties are SetObserv...
2 years 前 | 0
| 已接受
提问
Change constraints within optimization loop
Hey, I have an optimization problem in which the constraints depend on whether the design variable has changed or not (Single...
2 years 前 | 2 个回答 | 0
2
个回答提问
Model command with vector / matrix inputs
Hey, I would like to use the model command to execute my simulink model. The problem is that my inputs are scalars, vectors a...
2 years 前 | 1 个回答 | 0
1
个回答提问
Create diagonal matrix from vector in Simulink without DSP toolbox and without knowing the dimension of the vector
Hey! I need to convert a vector signal into a diagonal matrix in Simulink. The problem is that I do not have the DSP toolbox ...
3 years 前 | 1 个回答 | 0
1
个回答提问
Turn a Simulink model into a mex file
Hey! I'm trying to compare different algorithms and I have most of them in form of MATLAB functions. One of them, however, wa...
3 years 前 | 1 个回答 | 0