Réponse apportée
LQI with time-delay system
Yes, if using a Pade apporoximant for the time delay, then the Q matrix will have to be expanded to include the additional state...

environ 2 ans il y a | 0

Réponse apportée
Error in port widths or dimensions.
If it makes sense that the outputs of each Fuzzy Logic Controller is 3, then there is a problem at the the output of the highlig...

environ 2 ans il y a | 0

Réponse apportée
I have logged a signal from simulink to workspace in timeseries format and got 317 samples of that signal. Can i increase the number of samples i get or the sampling rate?
More samples of the logged signal can be collected by settng the Sample Time of the To Workspsace block to whatever sample time ...

environ 2 ans il y a | 0

Réponse apportée
How to plot this equation
syms U Delta beta T k_beta U = -Delta/2*tanh(beta*Delta/2) UoverDelta = U/Delta UoverDelta = subs(UoverDelta,beta,inv(k_beta*...

environ 2 ans il y a | 0

Réponse apportée
Derive function handle with a vector input argument
Hi Majeed, Maybe you're looking for something like this? q = [3 2 2 3]; p = sym('p',[1 4]); syms x y f = p(1)*x.^2+p(2).*y....

environ 2 ans il y a | 0

Réponse apportée
Load timeseries data from workspace for non-periodic data
In the Model Configuration parameters, change the Input field under Load From Workspace from ts to addsample(ts,'Data',ts.Data...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
how to use freqz function correctly
If x is a digitalFilter object, then freqz can be called as freqz(x,f,fs); where f is vector of frequencies of interest to vis...

environ 2 ans il y a | 0

Réponse apportée
How to get the value of slopes of pchip at the enpoints?
The doc page pchip (under the Output Arguments, pp section) shows how the interpolationg polynominal is formed for each interval...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
Struct as mask input
I did the following: 1) created a model child.slx. It has an Inport -> Gain -> Outport. The gain parameter is set to 'paramet...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Getting complex solution with Matlab ode45
It looks like your differential equation is very sensitive (I mean that loosely) A=-4.32; B=4; C=1.2; D=0.8; a=0.2778; ode...

environ 2 ans il y a | 0

Réponse apportée
two output in one scope
The easiest way is to log each signal in their respective .mdl file, simulate each, and then plot from the base workspace.

environ 2 ans il y a | 1

| A accepté

Question


Why are the Corners Shaded in the Model Reference Block?
Consider the block diagram at this doc link for model referencing. Why are the corner triangles shaded in the block for Counter...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
The problem with "contains"
Might not be faster, but .... LongStrings={'Apples are red' 'Lemons are yellow' 'Cucmbers are green' 'Some numbers are odd' 'Th...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
I my tried to use for loop to find a transfer function and root louces
I think that rlocus(TF3) clears the figure and then overwrites, so I think you're actually getting the root locus for the last v...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
Undefined function 'dksyn' for input arguments of type 'ss'. Error in Report8 (line 41) [k, cl, bnd] = dksyn ( G, 1, 1)
According to the doc page dksyn, the first input to the dksyn has to be a uss model, not an ss model. Mabye G should be built us...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Quicker way to subtract large vectors using a sliding window?
Hi goc3, Using filter seems to be a lot faster than the loop method 1 for Example 1. I didn't compare to the other loop method...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
Error in port widths or dimensions
The system has 3 inputs, 2 outputs, and 2 states. The gain multiplications by A, B, C, and D need to be matrix*vector multiplica...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
I need to find the transfer function of the close loop with the two variables gains using Simulink and math formulation
Hi ahmad, Neither Simulink nor the Control System Toolbox support any model with symbolic parameters. In both tools, everything...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
In between the years, a PISA question (nothing essential): The last digit of 7^190
Well, if 7^190 is larger than realmax, then using double precison won't work to just try to compute it. You could try the Symbol...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
How to add disturbance feedforward to LQI()
Hi John I don't udnerstand your observations absent additional information. If the control input includes the negative of the d...

environ 2 ans il y a | 1

| A accepté

Question


Do Orphaned sym Objects in the Symbolic Engine Matter?
Suppose I execute the following code func a. Did I just create an object in the symbolic engine that I have no way to access? ...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
gapmetric for MIMO LTI systems with unequal input and output dimensions
Hi Shivam, My interpretation of the doc page gapmetric is that the number of inputs to P1 has to be same as the number of input...

environ 2 ans il y a | 2

| A accepté

Réponse apportée
Finding strings with common character
type Gfile.txt % assuming strings to return are space delimited text = split(string(fileread('Gfile.txt'))); unique(text(star...

environ 2 ans il y a | 0

Réponse apportée
Add variable names to figure legends
Hi Ganesh, Add a second argument to the legend command % what you have figure h = plot(rand(3)); legend(h) % what you want...

environ 2 ans il y a | 0

Réponse apportée
How to combine argument validation with varargin
My understanding from reading Avoid Using varargin for Repeating Arguments is that putting varargin into a Repeating arguments b...

environ 2 ans il y a | 3

| A accepté

Réponse apportée
why the two split-step fourier methods using fft and ifft is equivalent ?
Let's take a simplified view of the loops in code1 and code2, and renaming the variables appropriately. Also, because of the way...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Convert discrete sys to continuous sys using delays using linear-fractional transformation (LFT)
Hi Joan, I reviewed the link from the julia site and I think I know what they're doing. But I'm not 100% sure because it seems...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
Matlab step() from Simulink dataset
Based on the picture of the Simulink model .... sys = linearize('SIM_lab5'); step(sys)

environ 2 ans il y a | 0

Réponse apportée
Im trying to replicate a simulink design, i dont know what the blocks y and u are in the library browser.
Those both look like To Workspace blocks used for logging data to the Matlab workspace for inspection/processing/etc. after the ...

environ 2 ans il y a | 0

Réponse apportée
when do I need use fftshift?
Hi Daniel, Let's plot the first function Bx = 10; A = sqrt(log(2))/(2*pi*Bx); fs = 500; %sampling frequency dt = 1/fs; %...

environ 2 ans il y a | 1

| A accepté

Charger plus