# Rostislav Teryaev

Aktiv seit 2017

Followers: 0   Following: 0

#### Statistik

Abzeichen anzeigen

#### Feeds

Anzeigen nach

Frage

Harmonics in simulink with controlled voltage source
Hello, I need to have controlled voltage source with adjustable number of harmonics. I want to set magnitude and phase from matl...

mehr als 5 Jahre vor | 0 Antworten | 0

### 0

Antworten

Beantwortet
Obtaining the equation from the graph that plotted
Do you need a symbolic equation? It is rather difficult to get one. I suppose, there are two ways: Polynomial function. Read t...

mehr als 5 Jahre vor | 1

Beantwortet
How can I plot curved lines in a graph plot?
layout(h,'layered') try using this after changing XData and YData

mehr als 5 Jahre vor | 0

Beantwortet
Simulink outputs variables but they are not being sent to the workspace.
First of all, you have to assign a structure Simulink.SimulationOutput to some variable temp = Simulink.SimulationOutput; Next...

mehr als 5 Jahre vor | 4

Frage

start simulink via power_analyze using variables from another workspace
When I want to run a simulation within a matlab function I use clear clc myFunc() function myFunc() R = 5; opt...

mehr als 5 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

Change colors' short names or add new ones
MatLab has eight short names for colors, which are: r, g, b, c, m, y, k, w. I want to add new short names for my own colors. Doe...

mehr als 5 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

Unexpected result from linspace function
Why the result of this code B1 = 0:0.1:1.8; B2 = linspace(0,1.8,19) B1(4)-0.3 B2(4)-0.3 is 5.5511e-17? I fo...

fast 6 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Ismember for rows or something else
Hello! I have to matrices a and b: a = [1 2; 3 4; 5 6; 7 8; 1 2; 9 10] b = [1...

etwa 6 Jahre vor | 1 Antwort | 0

### 1

Antwort

Beantwortet
Find lenght of shortest path from nodal incidence matrix
It seems not like an incidence matrix. Incidence matrix represents nodes connections. There are can be two approaches: 1. Ter...

etwa 6 Jahre vor | 0

Frage

Printing a big figure
I have a plot with (almost) only objects created by _text_ function. There are can be either 100 or 10^5 these objects. So, prev...

etwa 6 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

Why does MatLab has inputParse function but does not use it in its own functions
Why does MatLab has inputParse function but does not use it in its own functions, for example, in interp1 which accepts argument...

etwa 6 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

Sort the array by template
I have two arrays A1 and B1 in which elements correspond: A1 = [a1 a2 a3 a4 a5]; B1 = [b1 b2 b3 b4 b5]; then I ch...

etwa 6 Jahre vor | 2 Antworten | 0

### 2

Antworten

Beantwortet
How to do a curve fitting for a scatter plot?
For approximation use polyfit. For interpolation use interp1. Also when doing approximation it may be helpful to change x and ...

mehr als 6 Jahre vor | 0

| akzeptiert

Frage

I am trying to run number of simulations inside of for loop with Fast Restart mode. My model is: <</matlabcentral/answers/upl...

mehr als 6 Jahre vor | 0 Antworten | 0

### 0

Antworten

Beantwortet
subsystem does run updated when in fast restart
Here: <https://www.mathworks.com/help/simulink/ug/factors-affecting-fast-restart.html> you can find this line: * When...

mehr als 6 Jahre vor | 0

Beantwortet
Can fast restart be set programmatically?
set_param(modelName, 'FastRestart', 'on')

mehr als 6 Jahre vor | 0

Frage

Hide simulink editor while running a model
I do not understand why it is necessary to open simulink editor when running a model on simulation. Even if FastStart is enabled...

mehr als 6 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

When to use “to workspace” block vs “outport” block
I can use both blocks for getting output from simulink to matlab, but if there are two of them there should be difference in the...

mehr als 6 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Series block connection without copying blocks
I have a model with n blocks connected in series (And last (nth) block's outputs are connected to first block inputs). Only diff...

mehr als 6 Jahre vor | 0 Antworten | 1

### 0

Antworten

Frage

Aquiring graph data from realtime simulation
To run simulation from matlam I use sim function, which gets data from the model always after simulation is stopped. But what is...

mehr als 6 Jahre vor | 0 Antworten | 0

### 0

Antworten

Frage

Feature request: Complex Syntax Highlighting in future releases
Will we see a more adjustable syntax highlighting in MatLab? For example will the ability to change brackets' color be added in ...

mehr als 6 Jahre vor | 1 Antwort | 1

### 1

Antwort

Frage

Undocumented style of changing matlab font
I'm reading "Undocumented Secrets of matlab-java programming" by Yair Altman and try to change editor's font by means which are ...

mehr als 6 Jahre vor | 2 Antworten | 2

### 2

Antworten

Frage

Overlapping time-intervals
I have two date-time arrays *a* and *b*. *a* for start time and *b* for end time (above horizontal line on the picture). ...

fast 7 Jahre vor | 2 Antworten | 1

Antworten