Questions tagged [simulink]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
26 views

Transferring audio through arduino. Formation of a parcel

I'm new here. I want to try streaming audio using arduino. I have: arduino Radio module nrf24l01 Computer Matlab program, arduinoIDE I want to use a computer microphone, step by step ADC of the ...
0
votes
0answers
20 views

Spectrum Visualization of TX AD9361 Simulink Model

I'm using the SIMULINK AD9361 simrf support models, more specifically i use an AD931 TX model to generate a 20MHz RF LTE signal around 2GHz Fc the issue is when i use a spectrum analyzer scope i see ...
0
votes
0answers
12 views

Very stiff state space matrices after linearizing my Simscape model

I want to simulate and build a furuta pendulum from scratch as a project. Currently I´m having some difficulties with the simulation of my model in Simscape and I can´t figure out what´s wrong with it....
2
votes
1answer
79 views

How to improve accuracy while converting floating point coefficients to fixed point in the case of an all pole IIR filter

I am having an all pole IIR filter of order 5 with floating point filter coefficients ...
2
votes
1answer
126 views

How to get Step Response from an Impulse Response in Simulink?

Im sorry if it seems like a trivial question but I am confused right now. Im currently watching my professors lecture. And he basically has $\lambda(t)$ as ...
0
votes
1answer
57 views

Complex Data type not accepted in Simulink

I am having an issue with the interaction of the Matlab function block in the Simulink with my model block. Below you can also find the picture. I have created a Matlab function with three inputs and ...
0
votes
1answer
22 views

What channel model to choose while simulating a system in passband with frequencies over GHz range?

I was wondering as to what kind of channel model do we use to test for BER vs SNR in a passband RF system. The system that I designed is basically a wideband frequency hopped OFDM system where I use ...
0
votes
0answers
15 views

Feedforward disturbance signal compensation

The reference Feedforward control concepts through Interactive Tools says, to minimise the effect of the disturbance $d$ on the process output $y$, a compensator $G_{\text{ff}}=P_3/P_1$ shall be used. ...
0
votes
2answers
82 views

A Practical Method for Correcting Phase Errors in a Transceiver System Comprising of OFDM + DUC and DDC

I am back with a question related to my OFDM Transceiver System that I am designing where I use DUC and DDC. I could get rid of the high BER problem. I realized that the problem was due to the phase ...
0
votes
1answer
23 views

How do we know the receiver delay in an OFDM transceiver system?

I was simulating a simple OFDM transceiver system without a channel (just the transmitter and the receiver directly connected). I saw that if I use the "Find Delay" block in Simulink between the ...
1
vote
0answers
11 views

Model of modulator and demodulator in Simulink. Why is MER so lowest?

I created a simple model in Simulink of a quadrature modulator, amplifier and quadrature demodulator. On the oscilloscope(scope in Simulink) and spectrum analyzer the displayed results look normal (at ...
0
votes
1answer
68 views

Help in designing filter for DUC (Digital Up-Converter) and DDC (Digital Down-Converter) using the built-in DUC and DDC blocks in MATLAB Simulink

Can anyone please help me in simulating a simple BPSK transceiver system that correctly receives a signal through a DUC and DDC? I have attached the screenshot of my Simulink system along with ...
0
votes
0answers
29 views

QPSK matlab/simulink Quantisation effects

I am trying to simulate the effects of quantization of an ADC on different waveforms (e.g. QPSK,8PSK) in Simulink. For the case of QPSK the default BER curve would be generated with 2 bits per symbol ...
2
votes
0answers
48 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 :
2
votes
0answers
146 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: ...
2
votes
2answers
131 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 ...
1
vote
1answer
131 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
91 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: ...
3
votes
0answers
70 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
1k 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
253 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
275 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
74 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
13 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?
0
votes
1answer
1k views

How to implement a $1$-bit quantizer in Simulink?

I am trying to implement a delta-sigma modulator block diagram in Matlab Simulink but can't find a $1$-bit quantizer (which is required in the modulator) anywhere. Could anyone please tell me how to ...
-1
votes
1answer
691 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
220 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
211 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 ...