Respondida
How to use a from workspace function for a 1D lookup table
Dose input_grafiek have a constant value over the entire simulation run? If it does, don't use a From Workspace block. Instead, ...

más de 3 años hace | 0

| aceptada

Respondida
Get Intermediate Signal of Block Diagram for Control System
Hi Ian, AFACIT, you did everything correctly as far as defining and connecting the diagram. With the PID controller defined, th...

más de 3 años hace | 1

| aceptada

Respondida
How can i remove (or hide) the time units ("(seconds)") from the stepplot graphic in the x-axis?
If you're willing to accept 'hours' in the label instead of 'horas' then set the TimeUnit property of M numM=[1.123]; denM=[1 ...

más de 3 años hace | 0

| aceptada

Respondida
Binärsignal transformation 100 [Hz] --> 2000 [Hz]
Hi julius, Does repelem meet the requirement. Here's a small example to repeat each element three times (instead of 20) to mak...

más de 3 años hace | 0

Respondida
How to test if an object is a simulink.parameter ?
Hi Alexandre Use find on dictionary section object to find the entries that meet the desired criterion. >> myDictionaryObj = S...

más de 3 años hace | 1

| aceptada

Respondida
Error: Simulink Scope Block does not support 'Array' format for logging matrix signals
Why not use a To Workspace block? If haven't done already this doc page is a good place to start to compare all options. In ...

más de 3 años hace | 0

| aceptada

Respondida
Simulink error: Time-Varying State Space block
Hi John, In the Constant blocks for sys_lqr.B and sys_lqr.C try clearing the block parameter "Interpret vector parameters as 1-...

más de 3 años hace | 1

Respondida
recreating nyquist regions using FFT
Are the "third" and "fourth" Nyquist zone the frequencies from Fs to 3*Fs/2 and from 3*Fs/2 to 2*Fs respectively? If so, third...

más de 3 años hace | 0

Pregunta


Did mldivide Implementation Change in R2022b?
When I run this code here on 2022b (actually, 2023a now, but I saw the same effect on 2022b) I get: load('mldivdivideex') form...

más de 3 años hace | 1 respuesta | 0

1

respuesta

Respondida
why do my spectrogram values are negative and how to read them?
The power levels are in dB. Any positive number less than 1 is negative when converted to dB pow2db(0.5) See pow2db.

más de 3 años hace | 0

Respondida
How to use Cell array as block parameter using setBlockParameter in Simulink?
Hi David-ucr, I don't have 2022b and can't find EVModel in 2022a, so can't test. I also couldn't find it on the 2022b Simulink ...

más de 3 años hace | 0

| aceptada

Respondida
Resample function is not working properly and damaging the signal
Hi goksu, The observed behavior is documented at resample specifcally here: "... resample assumes that the input sequence, x, ...

más de 3 años hace | 2

Respondida
Transfer function matrix of a Multiple input DC-DC converter
Does linearize work on Simulink Simscape models?

más de 3 años hace | 0

Respondida
use green therom to find counter clockwise circulation and outward flux
Isn't the answer 0? Using the approach referenced here syms x y real % vector field F = [7*x-3*y, 7*y-3*x]; % Define the ...

más de 3 años hace | 0

Respondida
Subsystem with similar functionality as of "Unit Delay"
Does the Delay block meet the need? It can accept an IC from an external source and is externally resettable.

más de 3 años hace | 0

Respondida
Magnitude of a vector with unit
Looks like simplify pulls the unit^2 out of the root u=symunit; x=[1 2 3]*(u.m); norm(x) simplify(norm(x)) vpa(ans) x=[1 2...

más de 3 años hace | 1

| aceptada

Respondida
Extract time signal of specific frequences from a given time series signal
Hi Chenghao, I suspect the issue is related to the duration of x relative to the dynamics of the transient response of the filt...

más de 3 años hace | 0

Respondida
fft2 results don't match the analytical Fourier transform results
Hi Seyedalireza, The code below get closer, maybe all the way there, by addressing a few issues % Define the dimensions of the...

más de 3 años hace | 1

| aceptada

Respondida
ODE45 error must return column vector
Try doing what the error message says and make sure that F is a column vector. Here's one option dFdt = [dCadt ; dCbdt ; dCcdt]...

más de 3 años hace | 0

| aceptada

Respondida
Solving for Variables contained an interval
Referring to the form of y given in this comment: syms x real y = sin(x)*(2*cos(x) - 1) / ((1 + 2*cos(x)) * (1 - cos(x))) fp...

más de 3 años hace | 0

| aceptada

Respondida
LQG issue: state estimates always perfect
Hi John, Disclaimer: I didn't actually look at your code. I think all of the the results you're seeing make sense. First, let'...

más de 3 años hace | 1

| aceptada

Respondida
How do I use a root locus to find a value of K such that the damping ratio of dominant closed loop poles is a specified value?
Click on branch of the root locus and drag along the branch. The values in the datatip, which include the damping ratio, will co...

más de 3 años hace | 0

| aceptada

Respondida
Plotting Fourier Series Expansion
Hi Hanif, Maybe this will help. First, the problem statement says that one period spans -1 < x <= 1 (I don't think it matter i...

más de 3 años hace | 1

| aceptada

Respondida
After taking the time derivative of a symbolic expression, how do you then differentiate that new expression with respect to another variable's time derivative?
Check out functionalDerivative syms y x(t) t y = sin(x); ydot = diff(y,t) syms Dx(t) ydot(t) = subs(ydot,diff(x,t),Dx(t)) ...

más de 3 años hace | 0

Respondida
Error using append and connect
Hi Abdul, The third input to connect, which is the connection matrix, is incorrect. It should have two rows. Check the doc page...

más de 3 años hace | 0

Respondida
How to set integrator to make it reset its state to zero when the output negative and the state is negative?
Hi 耘岑, If the queue length can never be negative, how is it that the model is resulting in a negative queue length? In any cas...

más de 3 años hace | 0

| aceptada

Respondida
'InitFcn' Error in Simulink
Hi Sule, If running the simulation in the base workspace using the sim command or the run button, just load the .mat file into ...

más de 3 años hace | 0

Respondida
[Simulink] 'Discrete' state-space block with stable system diverging its output while 'continuous' one doesn't.
"The outcome is that, with exactly the same [A,B,C,D] matrices, ...." The A,B,C,D matrices mean different things in the State ...

más de 3 años hace | 0

Respondida
How can I use the output value from the first simulation reactor as init value of a second reactor simulation block in Simulink?
Hi Raúl, Change the 'Initial Condition Source' in the Integrator block to 'external'. The integrator will then have another in...

más de 3 años hace | 1

| aceptada

Respondida
LQI(): integrator response not as expected
Before getting to the LQI part of this, I'm curious about the approach for making an LQR regulator into a tracking system. Here...

más de 3 años hace | 2

| aceptada

Cargar más