回答済み
SAMPLE TIME , SIMULATION TIME , STEPSIZE IN DETAIL
Assuming this Question is in regards to Simulink: SIMULATION TIME: Refers to the master clock of the Simulink simulation. SAMP...

3年以上 前 | 0

回答済み
Add delay to signal
Maybe this will help: Let's assume we have a simple FIR filter that takes the average of the current and two previous samples o...

3年以上 前 | 1

| 採用済み

回答済み
Why wont the state-space block accept a mux input?
The B, C, and D matrices of the state space block indicate the state space model is expecting a single input to generate a singl...

3年以上 前 | 0

回答済み
Getting wrong frequency from fft compared to curve fit
Hi @lior fridman Assuming you're only interested in the magnitude of the DFT, it looks like everything is correct except for no...

3年以上 前 | 0

回答済み
Why am I receiving this error?
Assuming you want a numerical evaluation, check out these doc pages: log , exp

3年以上 前 | 0

| 採用済み

回答済み
Implementation of varying-order integrator block in Simulink
Thanks for the link to the Varying Transfer Function block. I'm still not 100% sure what your're looking for. But maybe someth...

3年以上 前 | 0

回答済み
about setting setBlockParameter (blkParam, paramVal)
A1. Gain and Position are block parameters. Position is a paramter that is common to all blocks. More info here Common Block Pro...

3年以上 前 | 0

| 採用済み

回答済み
Can I believe the values of these large integers?
What happens if you change this line to work in symbolic world? It will be slow .... (couldn't run here, exceeded the 55 second ...

3年以上 前 | 0

回答済み
How can I triple integral the matrix k between -h/2 to h/2, -b/2 to b/2, -a/2 to a/2 wrt. z,y,x respectively?
Hi Ahmed Try int clc clear all E=70*10^6; v=0.3; p=50*10^3; h=0.01; a=0.5; b=0.5; syms x y z B=-h*[6*x*(b-2*y)/(a^(3)...

3年以上 前 | 0

回答済み
Is there a way to change the value of the transfer function through MATLAB & Simulink?
Hi 영탁 한, My interpretation of your question is that you really have a second order, time varying system. Such a system can't be...

3年以上 前 | 1

| 採用済み

回答済み
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
At line 45 the variable Ybuskron is a 2 x 2 matrix and E(i) is a 1 x 1 scalar. So their product is a 2 x 2 matrix, which is tryi...

3年以上 前 | 0

回答済み
Digital Signal Processing Filters
Hi Mustafa, Not checking all of the code in detail, but I did notice that the fft plots don't look correct. They should be: f ...

3年以上 前 | 0

回答済み
Tuning a PID controller to desired Overshoot, settling time and rise time
The CST offers some tools to do this. Start from this doc page. Or from this doc page if you want to use Simulink. Here is an ...

3年以上 前 | 0

回答済み
convolution of two syms signal
If you know the definition of the convolution integral, try to use int to compute it.

3年以上 前 | 0

回答済み
How to plot the Eular Transformation?
The Control System Toolbox, for unknown reasons, doesn't support the forward or backward Euler transformations. I'm not aware of...

3年以上 前 | 0

| 採用済み

回答済み
unable to find median of a set of signals in simulink
Very surprised that base Simulink doesn't have a block to compute the median of signal. If you don't have access to the DSP Syst...

3年以上 前 | 0

回答済み
How to define this variable on MATLAB
Hi @Yakoob We can use the Symbolic Math Toolbox as one option Set up the equations r0=0.05; k1=0.5; mu=0.5; rho=0.5; k2=0...

3年以上 前 | 0

回答済み
How does freqresp work with systems with internal delays?
Hi Philippe, As best I can tell, the functional process is as follows. Referring to diagram under the "Description" of setDelay...

3年以上 前 | 0

| 採用済み

回答済み
solve equation with symbolic variables
Hi Milan With a mix of syms and anonymous functions and a call to fsolve using a symbolic equation, I wasn't sure if the desire...

3年以上 前 | 0

回答済み
Why isn't low pass filter centered around zero?
Hi Paul, The fft length is odd, so the computation of xFreq needs to be as shown below. N=120; Ap = 0.01; Ast = 80; Rp = (1...

3年以上 前 | 1

| 採用済み

回答済み
How do you do a sine transform in Matlab?
It appears that the sine transform can be computed from the Fourier transform. Example with a simple function syms t w xi real...

3年以上 前 | 0

回答済み
How to determine and adjust the x axis after taking the 1D FFT?
Hi L'O.G. Let Y be the output of fft (with or without zero padding) Let NFFT = numel(Y) Let Ts = dt = t(2) - t(1) and Fs = 1/...

3年以上 前 | 0

回答済み
Different margins using Bode and allmargin
allmargin returns the gain margin in absolute units, not dB. Converting the allmargin result to dB yields: 20*log10(11.1664) m...

3年以上 前 | 0

回答済み
lowpass butterworth magnitude response
Hi Võ The zp2sos command in the code returns a second output, g, which is a gain that has to be applied to the filter response....

3年以上 前 | 0

| 採用済み

回答済み
Last graph is plotted with no data points(figure 3) dont know why
Hi Gophela, See below for probable error in calculation of Signal_Attenuation and correction. clc; clear all; close all; % ...

3年以上 前 | 0

回答済み
Too many input arguments: error in ODE45
Hi Shreshtha, The function handle input to ode45 needs to take two arguments: t and x. Also, the matrix multiply defined in fun...

3年以上 前 | 1

| 採用済み

回答済み
Symbolic Toolbox Solving for Zeros
Hi Ryan, fzero is not used in the Symbolic Math Toolbox. Instead, check into using solve or vpasolve for this problem.

3年以上 前 | 1

回答済み
I want to loop over these non linear equations
Hi nour From only the perspective of getting the code to run ... It looks like the code will run if, at a minimum, we don't ke...

3年以上 前 | 0

| 採用済み

質問


Why Does get_param(gcb,CompiledPort*) Return Weird Results for Several Object Parameters ?
I have the following very simple model that has been compiled and simulated in Normal mode Verify the Constant block is selec...

3年以上 前 | 1 件の回答 | 0

1

回答

回答済み
Convolution example: inputA[64],InputB[64] and Output[128]
Hi AndyK, I'm going to assume that N = na + nb - 1, where na and nb are the lengths of a[n] and b[n] respectively. Under this a...

3年以上 前 | 0

さらに読み込む