Questions tagged [simulink]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

Problem in finding the delay between two signlas

I'm using find delay block to estimate the delay between two signals. Here is my configuration parameters : The error that i'm facing :
2
votes
0answers
16 views

Simulink cross correlation issue

here is the Simulink model that i'm using : The matlab function script : function tau = fcn(sig,refsig) tau = gccphat(sig,refsig); The errors :
0
votes
0answers
38 views

Implementing cross-correlation with argmax in Simulink [closed]

How can I implement this in a Simulink block? I want to create a block that has two inputs (two signals, one of them is delayed) where the output is the value of the delay that gives me the maximum ...
2
votes
0answers
34 views

Understanding and converting Matlab's coarse frequency compensation function

I am trying to understand and convert to C Matlab's coarse frequency compensator the documentation for which can be found here: Documentation Matlab's design itself is based on this IEEE paper: ...
1
vote
1answer
50 views

Understanding Matlab's Automatic Gain Control function

I am trying to understand the automatic gain control block provided by the communications toolbox. The documentation is here: Documentation My questions are in regards to two of the configurable ...
0
votes
0answers
10 views

How to make SL to RF inport in simulink work real time?

I am using qam in the simulink and need to upconvert the complex baseband data and obtain the time domain passband signal. I pass the complex baseband data to SL to RF inport and then do the ...
0
votes
1answer
91 views

channel gain calculation

I want to calculate the SINR term in an up-link of wireless communication system but there is different models for simulation. I want to know what is the exact meaning of |h|^2 in this formula: SINR = ...
0
votes
1answer
53 views

Length of Matlab Raised Cosine Filter Output Complex Vector

If I instantiate in Matlab a filter, a vector, and use them in the following way: ...
0
votes
1answer
62 views

Translating Matlab scrambler function to C

I am trying to implement the following matlab function in c: Mathworks scrambler Function Documentation This is the code I've written: ...
2
votes
0answers
35 views

Role of Riccati Equations in Kalman Filter Design

I am working on a Kalman Filter (KF) design problem and I am struggling to understand the role of the Riccati equations in the design process of a KF. Some sources discuss the importance of Riccati ...
0
votes
1answer
548 views

How to model state space for complex valued system correctly in SIMULINK (MATLAB)?

When trying to use the default state-space model block, if there is a complex number valued in the matrices, there will be an error To resolve that, firstly I need to look at pseudo reference model ...
0
votes
1answer
119 views

“Revolving” QPSK Constellation

I am trying to code a QPSK transmitter in VHDL but first I want to create one out of Simulink blocks and translate it into VHDL code. I am using an example project for the PlutoSDR as a guide. This ...
1
vote
1answer
177 views

DFT (FFT) of Non Uniformly Sampled Signal

I am trying to perform an FFT of a non-uniformly sample signal. My input comes from Simulink and PLECS which uses variable-time solver. So far, I have used ...
0
votes
0answers
68 views

Plot Background Noise

I am a total newbie in signal processing. I have been trying to plot on simulink a time/frequency domain noise in PLC (Powerline Communication) that matches a real-world research "...
0
votes
1answer
22 views

How do I simulate a purely real signal being received on multiple antennae in an array?

I have a signal created at baseband and then transmitted as $$\Re\{s_{bb}*e^{2\pi f_ct}\}$$ which is then received at a 5 element array for further processing. How do I interpret the real signal at ...
0
votes
0answers
10 views

variable factors in Simulimk

In my simulation of an equation in Simulink, I need to have variable factors the same as shown in following picture but Simulink doesn't accept that. how I can solve this problem?
-1
votes
1answer
544 views

Signal envelope

I have a relatively low-frequency signal and want to calculate the peak envelope of it in Simulink. I tried some of filters but the envelope is not well precise. can anyone help, how can I do it?
0
votes
1answer
147 views

Amplitude value after a Discrete-Time integration calculation?

I am using Matlab block Discrete-Time Integrator on Simulink and I would like to know in advance, what output of that block regarding to its amplitude and the current sampling frequency would be. ...
-1
votes
1answer
119 views

signal saturation [duplicate]

My signal is an actuator displacement signal. It is a sinusoidal signal with the max amplitude of 10cm. I want to clip amplitude at 7 cm in Simulink. But with saturation block, I will get flat ...
5
votes
2answers
3k views

Inverse system in Simulink

I have the following inverse system $$G(s)= s^2 + 2s + 3$$ How do I implement it in Simulink? Note that the transfer function is only accepted if and only if the order of the numerator is less than ...