回答済み
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...

3年弱 前 | 0

| 採用済み

回答済み
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...

3年弱 前 | 1

| 採用済み

回答済み
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...

3年弱 前 | 0

| 採用済み

回答済み
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...

3年弱 前 | 0

| 採用済み

回答済み
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...

3年弱 前 | 0

| 採用済み

回答済み
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...

3年弱 前 | 1

| 採用済み

質問


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? ...

3年弱 前 | 1 件の回答 | 0

1

回答

回答済み
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...

3年弱 前 | 2

| 採用済み

回答済み
Finding strings with common character
type Gfile.txt % assuming strings to return are space delimited text = split(string(fileread('Gfile.txt'))); unique(text(star...

3年弱 前 | 0

回答済み
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...

3年弱 前 | 0

回答済み
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...

3年弱 前 | 3

| 採用済み

回答済み
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...

3年弱 前 | 0

| 採用済み

回答済み
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...

3年弱 前 | 1

| 採用済み

回答済み
Matlab step() from Simulink dataset
Based on the picture of the Simulink model .... sys = linearize('SIM_lab5'); step(sys)

3年弱 前 | 0

回答済み
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 ...

3年弱 前 | 0

回答済み
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; %...

3年弱 前 | 1

| 採用済み

回答済み
I want to find the root locus of polynomial.
Running the code m_s = 5; % Mass of the spring m_r = 68; % Mass of the rotor k_r = 5.45e5; % Spring constant of the roto...

3年弱 前 | 0

| 採用済み

回答済み
how to express operators in symbolic algebra
I'm not sure how define a function of a function. But this seems to work, at least for this simple case: syms x t syms q(t) v(...

3年弱 前 | 0

回答済み
How can I fix this problem?
The variable x is defined at the top of the code to have 4 rows. In the loop that calls fsolve, x0 is defined with four elements...

3年弱 前 | 0

回答済み
Fourier Series for odd integers only
Hi Tashanda, I see a couple of issues with the code Though not an error, it would be clearer if you specified the variable of ...

3年弱 前 | 0

回答済み
How can I extract the x and y values of the phase- and magnitude graph of a .fig file plotted with bodeplot() or bode()?
sys = tf(1,[1 1]); bode(sys); hf = gcf; hax = hf.Children hax(2).Children % the first child is the phase plot hax(2).Child...

3年弱 前 | 0

| 採用済み

回答済み
Error using fft Invalid data type.
Hi Koray, It looks like you have a signal f(t) that is defined over the interval 0 <= t <= 1.5 as: syms t; K = 20; %35; Chan...

3年弱 前 | 0

回答済み
I want to get the value of x using the Matlab code "Out = fzero(@(x) (A-sqrt(2*pi*H*E*x*((x/E)+(x/F)^1/G))), 1000000)", but not getting the correct answer. Could you help me?
Seems to work here just fine. Why do you think you're not getting the correct answer? A = 20627000; E = 210000000000; F = 122...

3年弱 前 | 0

回答済み
D/A converter delay transfer function
That doesn't look like the typical D/A converter ..... But, assuming T is negative you can simulate the delay of -T/2 with a Tr...

3年弱 前 | 0

回答済み
Cannot plot negative frequencies on Nichols with recent MATLAB versions
Hi lepolonais03. Test case shows that only positive frequencies are considered, as you've obeserved. sys = zpk(1,[2 3],4); w=...

3年弱 前 | 0

| 採用済み

回答済み
how to create a look up table to use in simulink from a 2D array of doubles
Assuming your 40x2 array is stored in a workspace varaiable named data. Use the 1D Lookup Table. Set the Table Data parameter ...

3年弱 前 | 0

| 採用済み

回答済み
I want to know Block Diagram for "rlocus(G)" and how they calculate the overshoot of the graph.
(1) Yes, rlocus(G) fits the architecture you have. If "I can see overshoot" means that you're clicking on a branch on the root ...

3年弱 前 | 0

回答済み
pzmap and bode do not return zeros for all specified outputs
Hi Marcel, There isn't really a problem. If you want to get the pzmap of each individual transfer function of MIMO system, then...

3年弱 前 | 0

回答済み
why my discretized PID controller behaves differently than my continuous (unfiltered) PID?
Hi Israel, Let's take a look at the problem analytically. Define the plant and controller s = tf('s'); P = tf(1/(s^2 + s)); ...

3年弱 前 | 0

回答済み
Is there anyway to increase the calculation speed of this sqrt integral2 without loosing accuracy?
The iterated method works much faster as compared to auto (which I assume goes to tiled). Unclear why iterated integral2 is slow...

3年弱 前 | 0

さらに読み込む