回答済み
Plotting General Solution Of Differential Equation
Need to add one line of code syms y(x) D4y = diff(y,4); D3y = diff(y,3); D2y = diff(y,2); Dy = diff(y); eq= D4y +(2.*D3y)+...

約5年 前 | 0

回答済み
How do I pass a transfer function as a variable in Simulink?
Yes, you can use either a Transfer Fcn block or an LTI System block. Suppose h is a tf object in the base workspace. For the Tr...

約5年 前 | 3

質問


Why Does eig() Not Throw an Error for Non-Square, Symbolic Input?
Example: M = [sym(zeros(2));sym('m',[2 2])]; M(1,1) = 1 eig(M) But filling in the top partition of M does yield the expected...

約5年 前 | 1 件の回答 | 0

1

回答

回答済み
How to evaluate frequency response of a filter using freqz()?
Image 1 is plotted against against magnitude, not magnitude(dB). Just change the second input to plot() to be the db of the mag...

約5年 前 | 0

回答済み
How to put step reference command on Simulink?
Constant = 5, feeds a Discrete Tansfer Fcn block with Numerator = 1, Denominator = [1 -1] and Sample Time = 3

約5年 前 | 0

| 採用済み

回答済み
Is my Fourier Transform code correct?
Why whould this approach be expected to exactly recover the original signal? The DFT of the original signal is not zero everwher...

約5年 前 | 1

回答済み
Step Response and Root Locus are give me different answers
The information in the datatip on the root locus plot is only applicable for a response defined by that pole location (and its c...

約5年 前 | 1

| 採用済み

回答済み
Fourier transform of sum of sinusoids
The exact Fourier transform can be found as: syms w1 w2 w3 t w f(t)=sin(w1*t)+sin(w2*t)+sin(w3*t); F(w)=fourier(f(t),t,w)

約5年 前 | 0

| 採用済み

回答済み
coeffs of symbolic equation
Is this what you're looking for: syms x y z=x+2*x*y+4.*y+5*x*y^2; [cxy,t]=coeffs(z,[x y])

約5年 前 | 0

| 採用済み

回答済み
How to represent 2 inputs 4 outputs closed loop state space system as a MATLAB code? please help!
According to doc connect the last two arguments to connect() should each be a char or cell arrays of char, in the order inputs...

約5年 前 | 0

| 採用済み

回答済み
Fourier Series using MATLAB
You probably want f1(x) = piecewise(x < -sym(pi), 0,x < 0,-x-sym(pi), x<=sym(pi), x+sym(pi), x>sym(pi), 0); You'll find some o...

約5年 前 | 0

回答済み
Variable Substitution of a Function
It is correct, isn't it? x1^2 = (-x1)^2, x1*x2 = (-x1)*(-x2), and x2^2 = (-x2)^2

約5年 前 | 0

| 採用済み

回答済み
Finding Symbolic Matrix Derivative
Declare theta and phi as functions, and then substitute after differentiating A syms phi(t) theta(t) phi_dot(t) theta_dot(t) A...

約5年 前 | 0

回答済み
Symbolic matrices multipleid incorrectly
What was your actual check that the result does not pass? Maybe you need to simplify() the result? M1=sym('m1',[2 2]); M2=sym...

約5年 前 | 0

回答済み
Load variables into a simulink model from a Matlab funtion.
Check out the doc page for the sim() command doc sim The sim() command has some options that do what you want, including the S...

約5年 前 | 1

| 採用済み

回答済み
Finding Time Constant from Root Locus of a Transfer Function
Right click a point on a rlocus plot and a data tip will pop up with useful information. Unclear what Vr is or how it relates t...

約5年 前 | 0

| 採用済み

回答済み
How can I compute the CDF between - infinity to TH
Check out doc normcdf

約5年 前 | 0

| 採用済み

回答済み
Spiral density function implementation
I'm going to assume that the question means that the conditional density of r given theta is normal with exepectation mu = theta...

約5年 前 | 0

| 採用済み

回答済み
Error in acker function, poles do not much size A?
poles should have three elements based on the size of A, but it only has one: >> poles poles = -4.0800e+03

約5年 前 | 0

回答済み
Define a density function and draw N samples of it
The Statistics and Machine Learning Toolbox has lots of typical densities that can be used to generate samples of random variabl...

約5年 前 | 0

回答済み
How to add matrix in a matrix which is obtained using syms function?
blkdiag() seems to work blkdiag(B1,B2) though interestingly enough it appears that blkdiag is not a supported function for the...

約5年 前 | 0

回答済み
Conditional normal random distribution
I'm going to assume that for any value of theta, the radius (rho) is normally distributed with mean 2*theta and variance = sigma...

約5年 前 | 0

| 採用済み

回答済み
z transfer function - cascade
Simulink has a host of commands (doc page) that can be used to create and edit block diagrams.

約5年 前 | 0

回答済み
Plot convolution of two wave signals
If we assume that m(t) = c(t) = 0 for t < 0, we can show analytically that the convolution integral m(t)*c(t) is periodic with p...

約5年 前 | 1

回答済み
Setting initial condition of State Space model (not block in Simulink)
I'm almost certain that the initial conditions are not a settable (is that a word?) property of ss objects. The initial conditio...

約5年 前 | 1

| 採用済み

回答済み
How to find response of a system through convolution?
I don't think you're doing anything wrong. Rather, what you're seeing is the effect of approximating a convolution integral wit...

約5年 前 | 1

| 採用済み

回答済み
Simulink Transfer Function Variable from Matlab
Try using a Constant block and set its parameter to wref, instead of using an Inport for wref. The error message sounds like th...

約5年 前 | 0

| 採用済み

回答済み
Postive PM and GM but unstable closed loop response
Closed loop stability needs to be determined before caculating GM and PM. In other words, GM and PM cannot be used to determine...

約5年 前 | 0

回答済み
Step response with initial condition
According to the question, the output should satisfy y(t=0) = 10. But the system, u_del, as specified will yield a step response...

約5年 前 | 0

回答済み
Simulink computational load of each subsystem (or block)
Check the doc pages for the the Simulink Profiler, Solver Profiler, and various pages on how to optimize performance, if you hav...

約5年 前 | 0

さらに読み込む