Beantwortet
Logical Indexing in Simulink
Hi Femi, The output_matrix must be declared variable size while using this logical indexing in a MATLAB function block. When yo...

mehr als 3 Jahre vor | 1

| akzeptiert

Beantwortet
How to Simulate the transmission of the audio signal using AM over AWGN channel by using a MATLAB code
Consider an audio file testSignal.wav . Use audioread function to read the audio file [y,Fs] = audioread('testSignal.wav'); Co...

mehr als 3 Jahre vor | 0

Beantwortet
Running classes on a FPGA
Refer the documentation for getting started with HDL Code generation and deployment workflow from MATLAB. https://www.mathworks...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
How can I find an optimised set of vectors
Refer the documentation for the Constrained Optimization Algorithms https://www.mathworks.com/help/optim/ug/constrained-nonline...

mehr als 3 Jahre vor | 0

Beantwortet
NR Intercell Interference Modeling
It seems like the code is being executed without including the helper function file hNRIntercellInterferenceValidateConfig.m T...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
Simulink doesn't export data when called by a matlab-function
To export the calculated variables into the workspace, consider taking the sim function inside the timer function as out = sim(...

mehr als 3 Jahre vor | 0

Beantwortet
Simulink Entity Splitting Problem
You can use entity output switch to divide entites based on probability values Set a probabity vector and assign the port numbe...

mehr als 3 Jahre vor | 0

Beantwortet
How to call a matlab function?
The above code cannot be executed as lim is not defined. Try initializing lim either as a variable or function with integer retu...

mehr als 3 Jahre vor | 0

Beantwortet
Generate Code for single model reference in other parent model
'slbuild' function accepts model name, normal subsystem path and handle to model and subsystem. Here reference subsystem cannot ...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
How to "Monitor and Tune" Simulink Model from MATLAB
You can try out this command for Monitor and Tune mode set_param(gcs, 'SimulationMode', 'external')

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
how to add velocity to the generated modulated signal?
Velocity effect can be induced in the model when the input signal vary as function of both time and displacement. The function p...

mehr als 3 Jahre vor | 0

Beantwortet
How to gaussian white noise with mean, variance and autocorrelation function?
The White Gaussian Noise should contain a multivariate random numbers with three different realizations, each realization with m...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
Getting error message for fast Fourier transform from simulink
It seems like data80 does not belong to the valid input types of fft function.You can use either double, int32, uint32 or logica...

mehr als 3 Jahre vor | 0

Beantwortet
Create vector with values from the same source
Yes, it would be possible if you are transmitting the truth table data serially using buffer block and conditionally logging the...

mehr als 3 Jahre vor | 0

Beantwortet
Nyquist plot - Changing the graph axes
From the basic graph, you can observe that the axis points are different for real and imaginary. Try setting the equal axis and ...

mehr als 3 Jahre vor | 1

Beantwortet
1-D vector (either nx1 or 1xn) giving matrix output of nxn in Simulink
yout logs the data from the constant block at every simulation time step. If one dimensional vector is given in the block, the r...

mehr als 3 Jahre vor | 0

Beantwortet
Formatting .dat gps file
To read this dat file as a table, the variables have to be aligned as column vectors. Try modifying the dat file as four column ...

mehr als 3 Jahre vor | 0

Beantwortet
Output from simulink to matlab file append each run
To file block overwrites the variable every time when simulated. To append the data row wise after every simulation either you c...

mehr als 3 Jahre vor | 0

Beantwortet
frequency of wind speed in a particular direction
You can use table function to create a table from the workspace variables T = table(windSpeed,Direction); Also refer the docum...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
generate string signal in simulink
Signal generator block does not accept external inputs apart from time. Try to convert character ASCII values to binary using en...

mehr als 3 Jahre vor | 0

Beantwortet
How to programmatically change tunable masked parameters while a simulation is running?
I have brought the issue of 'Programmatically changing the tunable masked parameters while running the model' to the notice of o...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
How to use the convolution function rather than filter for signal
filter function gives the filter response for both IIR and FIR systems whereas conv function performs linear convolution of the ...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
Hi currently im doing a mod and demod of FSK signals and i have to add AWGN into it but cant figure it out can someone help and identify the error, currently im using the code below:
awgn function considers input vector signal, Signal to Noise Ratio (SNR) and Signal power as a general valid attributes. Refer ...

mehr als 3 Jahre vor | 0

Beantwortet
Variable of Integration in Simulink
If the variable x is a function of time x(t), you can use Integration by substitution method ...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
I'm trying to implement DWT-OFDM in Matlab. But Matlab shows the message, only real value can be available for IDWT.
idwt function accepts Approximate coefficients and Detail coefficients corresponding to the wavelet as a real valued vectors. Tr...

mehr als 3 Jahre vor | 0

Beantwortet
OFDM implementation in Simulink
Create a cyclic prefix extension to the serial IFFT symbols with the help of Selector and Vector Concatenate blocks (extract fro...

mehr als 3 Jahre vor | 0

Beantwortet
Why the spectrum I get from 'Visualization'-'Frequency response' in 'comm.RayleighChannel' is sometimes different from the spectrum I culculate from 'PathGainsOutputPort'?
Seed property corresponds to the generation of random stream.Seed serves as a unique identifier of a pseudo-random sequence i.e....

mehr als 3 Jahre vor | 0

Beantwortet
Filtering using FFT for audio signal
Refer the link https://www.mathworks.com/matlabcentral/answers/503999-filtering-for-multiple-band-of-frequncies which describe...

mehr als 3 Jahre vor | 0

Beantwortet
Markers enabled to highlight data
Refer Constant Sample Time section in the documentation https://www.mathworks.com/help/simulink/ug/types-of-sample-time.html

mehr als 3 Jahre vor | 0

Beantwortet
How to show link to block in custom error Diagnostic Viewer
The command to display the link to the current block in the Diagnostic Viewer is as shown sldiagviewer.reportError(sprintf('<a ...

mehr als 3 Jahre vor | 3

| akzeptiert

Mehr laden