Domanda


LQI(): integrator response not as expected
I have a simple 2nd-order spring/mass/damper system in closed-loop configuration, that works as expected under LQR control; see ...

oltre un anno fa | 2 risposte | 1

2

risposte

Domanda


Transfer Function: Continuous approximation of discrete bode
Is there a straightforward way to create a continuous-time transfer function (TF) from a discrete-time TF, that matches the disc...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Estimate first order transfer function from Phase at Frequency
What command would I use to estimate a first order transfer function (TF), from a known Phase at Frequency? The TF is known o...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Find Bode Phase of Uncertainty models
How can I find the phase programatically, of an Uncertainty plot like this one? This transfer function is build using the Robust...

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Manipulating "Uncertain" (ureal) plots
I'm using the Robust Control toolbox to plot uss (uncertain parameter) functions creating with ureal. Using eg Bode() will aut...

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


Simulink is optimizing out simple blocks -- why?
I'm trying to understand why Simulink is optimizing out simple blocks. This is a basic discrete filter. None of the input coef...

oltre 4 anni fa | 0 risposte | 0

0

risposte

Risposto
Error in exponential transfer function
Interesting, thanks for the reply Walter. Could you clarify? I'm missing something basic here -- so I'd like to understand bett...

quasi 5 anni fa | 0

Domanda


Bug: Simulink 2019b crashes when accessing plot
On OSX (latest version), Simulink 2019b repeatedly crashes when accessing a plotted scope output. The model is basic: a step ...

quasi 5 anni fa | 2 risposte | 4

2

risposte

Risposto
Error in exponential transfer function
Just a gentle bump, as this is still unresolved :)

quasi 5 anni fa | 0

Domanda


Error in exponential transfer function
I'm having difficulty implementing certain transfer functions in non-state-space form: Eg 1 - exp(-s) or exp(-s) + 1 Basi...

quasi 5 anni fa | 2 risposte | 0

2

risposte

Risposto
Cannot save Fig as PNG -- Matlab bug?
Again, PNG does not work. Anyone have further thoughts?

oltre 6 anni fa | 0

Domanda


Cannot save Fig as PNG -- Matlab bug?
I think there's a problem with Matlab. I'm unable to save a figure as png, using the basic command "saveas(gcf, 'test.png')". Th...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


Bug in Persistent variables? Simulink M-function
I am unable to initialize a Persistent variable. Here's a snippet of code in a Simulink M-function which does not actually set '...

quasi 7 anni fa | 1 risposta | 1

1

risposta

Risposto
Bug in Persistent variables? Simulink M-function
Okay, now I'm certain it's a BUG. The code WILL -- or will NOT -- properly initialize a variable depending on where it is loca...

quasi 7 anni fa | 0

Risposto
Why is my serial port not recognized with MATLAB on Linux or Solaris?
This doesn't seem to work on Ubuntu 64-bit. Since i need a fixed port in my code for each of many devices, I created a symbolic ...

quasi 7 anni fa | 0

Domanda


Vectors to Contour3...confused
I have 3 linked vectors from physical data: call them vectors a,b,c. A given cell entry across a,b,c are linked (taken at the sa...

oltre 7 anni fa | 0 risposte | 0

0

risposte

Domanda


'syms' not working, but I do have the Symbolic Math Toolbox
*I have the symbolic math toolbox*, but 'syms' isn't working. How can I fix this? VER info below: "----------------------...

quasi 8 anni fa | 2 risposte | 0

2

risposte

Domanda


Simulink: Function Handles Not Supported!
I have a lengthy Matlab program, parts of which I'd like to embed into a Simulink program. In the Matlab program there are numer...

oltre 8 anni fa | 0 risposte | 0

0

risposte

Risposto
Matlab crashes Ubuntu system
It turns out that my 32 GB system is out of RAM. allvars = whos; memused_bytes = sum([allvars.bytes]) memused_GB = me...

oltre 8 anni fa | 0

Domanda


Matlab crashes Ubuntu system
R2014A crashes my ubuntu system so hard, that I have to physically pull the plug. It's reproducible and happens every time. Afte...

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


Different results for Simulink's External and Normal mode!
In Real-Time Windows Target (Simulink), a simple DC motor model works fine in Normal mode (unit step input), but becomes unstabl...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


Packet Input (Simulink) returning 0s
EDIT: This works in Normal mode, but not External mode! In External Mode, the Packet Input block in Simulink only returns 0s ...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


External Mode scope traces (Simulink)
Why does data not show up on a scope in External Mode, in a simple Real-Time Windows Target application (in Simulink)? First ...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Risposto
Simulink Encoder Block outputting pulses only?
Thanks for the reply and thoughts. In "Board Setup" there are two counters to configure: Counter 0 Mode and Counter 1 Mode. I ha...

oltre 10 anni fa | 0

Domanda


Simulink Encoder Block outputting pulses only?
The Simulink "Encoder Input" block (Real-Time Windows Target toolbox) seems to output pulses only when the encoder is turned. I...

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


How to get custom library to show up in Simulink Library Browser?
If you make an .mdl or .xls model file in Simulink, how can you make it show up in the library browser for easy insertion into d...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


Convert Floating Point (Double) to array in Simulink?
The net yielded no results for this question... In Simulink, how do you convert a floating point value (eg 1.234) into an array...

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


Analog Output block keeps timing out (glitches)
Using the Analog Output block in Real-Time Windows Target run in Normal mode, I always get flat-waveform glitches that last ~50 ...

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


SIMULINK: send string via Stream Output
How are strings sent to serial devices in Simulink? If I have a string that's of length N, all ASCII characters, how can I speci...

oltre 10 anni fa | 1 risposta | 1

1

risposta

Risposto
Memory leak from plotting?
But as I said, i'd like to keep the previous lines on-screen. That link only gives ideas for clearing or modifying the current o...

oltre 10 anni fa | 0

Carica altro