Risposto
Inverse Z-Transform of F(z) How to set ROC?
No, we can't specify the ROC for iztrans, which always assumes the time domain sequence is causal. Same issue with ilaplace. Ho...

quasi 4 anni fa | 0

Risposto
Riemann Siegel Theta Equation
Hi bil, Is this what you're looking for? syms t real theta(t) = angle(gamma(sym(1)/sym(4) +1i*t/2)) - log(sym(pi))/2*t tsol ...

quasi 4 anni fa | 1

| accettato

Risposto
Varying input into a transfer function in simulink
Hi Jake, It looks like you're tring to vary the value of A between runs, not during a run. In this case, I think you want some...

quasi 4 anni fa | 0

| accettato

Risposto
Flexible symbolic function definition
I'm still not sure what you want. Maybe this? syms a b c vars = [a b c]; len_vars = length(vars); % might want to use numel ...

quasi 4 anni fa | 0

Risposto
How to convert from rad/sec to Hz in bode plot, and what can i understand from the bode plot shown?
To plot in Hz, rather than rad/sec. Option 1: %[m,p,w] = bode(Gvd); % w - rad/sec %f = w/2/pi; % f - Hz %subplot(...

quasi 4 anni fa | 0

| accettato

Risposto
How to Dynamically change Model Workspace variables for changing block parameters
Assuming the Question is in regards to this block, Rigid Transform, it seems that dynamically changing the parameters of the blo...

quasi 4 anni fa | 0

Risposto
integration of a vector
I'm not sure what "sigma sign" is, but running here, without any manipulation of integrand, does not yield a result that contain...

quasi 4 anni fa | 0

Risposto
Plotting a velocity vector field
Here is how you can plot what I thinkg your want using quiver3 over a 3D cube. Should be able to adapt it as needed. Check its d...

quasi 4 anni fa | 1

| accettato

Risposto
Operator '>' is not supported for operands of type 'tf'
Hi Salah Gvd is a transfer function. It looks like you want to evaluate Gvd at a set of frequencies and then operate on that re...

quasi 4 anni fa | 0

| accettato

Risposto
I need to resample the ECG signal at a lower frequency in order to apply some QRS detection algorithms
The following functions may be of interest: downsample , decimate , resample

quasi 4 anni fa | 0

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 1

| accettato

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 0

| accettato

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 0

| accettato

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

quasi 4 anni fa | 0

Risposto
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)...

quasi 4 anni fa | 0

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

quasi 4 anni fa | 1

| accettato

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 0

Risposto
convolution of two syms signal
If you know the definition of the convolution integral, try to use int to compute it.

quasi 4 anni fa | 0

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

quasi 4 anni fa | 0

| accettato

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 0

| accettato

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

quasi 4 anni fa | 0

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

quasi 4 anni fa | 1

| accettato

Carica altro