Respondida
Error getting characteristics from Linear Analysis Tool and PID Controller
Hi Vasiliy, Change the analysis point at the output of the plant from 'Open-Loop Output' to 'Output Measurement'

más de 3 años hace | 1

| aceptada

Respondida
Assumption Ignored Symbolic PDF
I'm not aware of a way to put an assumption like that on an integral. In this problem, it seems like the actual form of f(z) do...

más de 3 años hace | 0

| aceptada

Respondida
Convolution between two PDFs using product of Laplace transforms in Symbolic Toolbox
E(x) and F(x) are not valid pdfs. syms x real E(x) = 2.*(1 - 0.01)*dirac(x) + rectangularPulse(0, 300, x).*0.01./300 F(x) = ...

más de 3 años hace | 0

Pregunta


Why Can't int Find a Simple Integral?
syms x real E(x) = 99/50*dirac(x) + rectangularPulse(0, 300, x)/30000 int on first term yields expected result int(99/50*dira...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Respondida
How does simulink use data stored in matlab as an array for each time iteration?
Hi M.I, 141 rows does not correspond to 15 sec with 0.1 step size. Perhaps it's just 14 seconds. Whether or not you need to us...

más de 3 años hace | 0

| aceptada

Respondida
Surprising behavior in randsample
I don't see anything in the doc that says anything about the ordering. randsample is an .m file. The algorithm for without repla...

más de 3 años hace | 1

| aceptada

Respondida
How make a high pass filter and give input to it simultaneously?
"How can i make a filter which can have a given cutoff frequency and also passes a custom made input (in the code)." Check out ...

más de 3 años hace | 0

Respondida
Rename integration variable in symbolic result
I don't know if I'd call this 'easily', but it gets the desired result (I believe). syms t m b y(t) y0 C x(t) % definitions of ...

más de 3 años hace | 0

| aceptada

Respondida
Matlab - Bode plot of discrete and continuous Function
One problem is that the discretization of the product is not the product of the discretization. But with T_sample so small, tha...

más de 3 años hace | 0

| aceptada

Respondida
I have a time domain signal.I want to calculate energy of my signal......
Suppose we have a continuous-time signal syms t f x(t) = exp(-abs(t/5))*sin(2*sym(pi)*2*t) This signal is noncausal and has i...

más de 3 años hace | 0

Respondida
Discrete Average on Simulink
If I understand the question correctly ..... Use a Discrete FIR Filter block to maintain a running average of 600 samples. Set ...

más de 3 años hace | 0

Respondida
InitFcn Error at Simulink
The model (likely) needs information stored in a file called bldcData.mat in order to execute, so the InitFcn callback tries to ...

más de 3 años hace | 0

Respondida
How to plot the continuous convolution result
Hi YAMENG, Have you considered computing the convolution integrals directly? Note scaling to get them all to fit on the same ...

más de 3 años hace | 0

| aceptada

Respondida
Determine the Length of One Oscillation
I think this problem is supposed to be attacked like this. Define H(z) syms z H(z) = (-3*z^2 + 4*z)/(8*z^3 - 14*z^2 + 8*z - 2...

más de 3 años hace | 1

Pregunta


Figure Control Buttons Out of Sync in Live Script
I'm running a live script. When I hover the mouse in the figure I the home, zoom out, zoom in, pan, and save buttons become vis...

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

1

respuesta

Respondida
Can I use a symbol as a variable?
Hi Prasenjit, Yes, you can do that syms m f = m^2 % expression that contains m as a symbol whos m % m is sym for m = 1...

más de 3 años hace | 0

Respondida
How to plot frequency spectrum of a piecewise function in matlab?
Hi Daniel, Regarding this comment, the use of fftshift and the multiplication by dt both have to do with using the Discrete Fou...

más de 3 años hace | 0

| aceptada

Respondida
I want to find the filtered signal and remove the noise from the discrete received signal from the radar and convirte it to continuos
c2d (Control System Toolbox) or c2d (System Identification Toolbox) requires the first input be a dynamic system model. As far a...

más de 3 años hace | 1

Respondida
I have an error when simulate a linear delay system with sliding mode control
Hi yousra, I'm not quite sure what the code is trying to do. However, the reason for the lsim error is pretty clear, and there'...

más de 3 años hace | 0

| aceptada

Respondida
How can I use the matlab function like fcn block
Hi titor7, The reason for the error in the original model show in this comment is because Simulink didn't have enough informati...

más de 3 años hace | 1

Respondida
Can't susbsitute a variable that is defined
Do syms C1 before calling subs. syms y(t) a eqn = diff(y,t) == a*y; S = dsolve(eqn) syms C1 subs(S,C1,2)

más de 3 años hace | 2

| aceptada

Respondida
Running simulink model with multiple values of a parameter, and then plotting multiple results on the same plot
Instead of, or in addtion to, the scope, send your data to a To Workspace block. Check out this doc page for an example of how ...

más de 3 años hace | 0

| aceptada

Respondida
Why does the step response to my discrete system not match between MATLAB and Simulink?
The explanation for the Simulink resutls is that the coefficients entered in the Discrete Transfer Function block don't represen...

más de 3 años hace | 0

Respondida
How to get state-space from a transfer funciton matrix
Don't use tf2ss. Check out ss instead to get started.

más de 3 años hace | 0

Respondida
linearize a non linear system
Normally, linearize is used to linearize a Simulink model. However, you may be interested in this Question first.

más de 3 años hace | 0

Respondida
Not simplifying to a usable answer
Hi Andrew, The answer key for Z1 appears to be incorrect. Also, I don't follow the equations you posted in the question. Anyw...

más de 3 años hace | 0

| aceptada

Respondida
Discrete input to continuous transfer function
Hi Luca, I'm 99.99% sure that the output of a block with a Discrete Sample Time is held constant until it changes. I know that...

más de 3 años hace | 0

| aceptada

Respondida
Output of a transfer function with input
The HeavisideAtOrigin should be 1 when using lsim M=2; b=14; q=20; num=[1]; G=tf(num,[M b q]); syms t F = 2*(heaviside(...

más de 3 años hace | 1

Pregunta


Should this Symbolic Limit be Zero?
syms x a % complex by default syms n integer assume(abs(a)>abs(x)); assumptions limit(x^n/a^n,n,inf) Should that limit be z...

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

1

respuesta

Pregunta


Can Symbolic Assumptions be Combined or Simplified?
Suppose I have a variable syms z and assumptions assumeAlso(abs(z) > 1); assumeAlso(abs(z) > 2); assumptions The only valu...

más de 3 años hace | 0 respuestas | 0

0

respuestas

Cargar más