Answered

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

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

6 meses ago | 0

Answered

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

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

6 meses ago | 0

| accepted

Answered

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

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

6 meses ago | 0

Answered

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

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

6 meses ago | 0

Answered

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

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

6 meses ago | 0

Answered

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

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

6 meses ago | 0

Answered

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

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

6 meses ago | 0

Answered

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

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

6 meses ago | 0

Answered

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

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

6 meses ago | 0

| accepted

Answered

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

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

6 meses ago | 0

Answered

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

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

6 meses ago | 0

| accepted

Answered

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

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

6 meses ago | 0

| accepted

Answered

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

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

6 meses ago | 0

Answered

Variable of Integration in Simulink

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

Variable of Integration in Simulink

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

7 meses ago | 0

| accepted

Answered

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

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

7 meses ago | 0

Answered

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

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

7 meses ago | 0

Answered

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

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

7 meses ago | 0

Answered

Filtering using FFT for audio signal

Refer the link https://www.mathworks.com/matlabcentral/answers/503999-filtering-for-multiple-band-of-frequncies which describe...

Filtering using FFT for audio signal

Refer the link https://www.mathworks.com/matlabcentral/answers/503999-filtering-for-multiple-band-of-frequncies which describe...

8 meses ago | 0

Answered

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

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

8 meses ago | 0

Answered

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

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

8 meses ago | 2

Answered

Sub carrier mapping and IFFT signal formation

Refer the documentation https://www.mathworks.com/help/comm/ref/comm.ofdmmodulator-system-object.html https://www.mathworks.co...

Sub carrier mapping and IFFT signal formation

Refer the documentation https://www.mathworks.com/help/comm/ref/comm.ofdmmodulator-system-object.html https://www.mathworks.co...

8 meses ago | 0

Answered

Replacing array elements with cell elements

Once a huffman dictionary created for an alphanumeric data from the message with the probability of occurences obtained from the...

Replacing array elements with cell elements

Once a huffman dictionary created for an alphanumeric data from the message with the probability of occurences obtained from the...

8 meses ago | 0

Answered

Cross power spectrum MATLAB

Error occured due to the incorrect matrix dimensions of f1 and vec_Vph in the scatter plot. Try checking the code by modifying t...

Cross power spectrum MATLAB

Error occured due to the incorrect matrix dimensions of f1 and vec_Vph in the scatter plot. Try checking the code by modifying t...

8 meses ago | 0

Answered

How to Plot and label the multipath impulse response of the channel.

Refer the documentation https://www.mathworks.com/help/comm/examples/multipath-fading-channel.html

How to Plot and label the multipath impulse response of the channel.

Refer the documentation https://www.mathworks.com/help/comm/examples/multipath-fading-channel.html

8 meses ago | 0

Answered

Find index of specific rows of a table with value greater than a threshold

Try the code by adding (initial index - 1) to the find function ind = find(T{initial_index:final_index,column_index} > threshol...

Find index of specific rows of a table with value greater than a threshold

Try the code by adding (initial index - 1) to the find function ind = find(T{initial_index:final_index,column_index} > threshol...

8 meses ago | 0

Answered

getting frequency data to time data

ifft function transforms the complex signal data from frequency domain to time domain where the time difference between the succ...

getting frequency data to time data

ifft function transforms the complex signal data from frequency domain to time domain where the time difference between the succ...

8 meses ago | 0

Answered

where can i find for perfect coding of OTSU thresholding

Refer the documentation https://www.mathworks.com/help/images/ref/graythresh.html https://www.mathworks.com/help/images/ref/m...

where can i find for perfect coding of OTSU thresholding

Refer the documentation https://www.mathworks.com/help/images/ref/graythresh.html https://www.mathworks.com/help/images/ref/m...

8 meses ago | 0

| accepted

Answered

Changing frequency of given data set

Consider voltage vector x Let the frequency shift be delta_f and phase shift be delta_p N = 10000 % number of samples To cha...

Changing frequency of given data set

Consider voltage vector x Let the frequency shift be delta_f and phase shift be delta_p N = 10000 % number of samples To cha...

9 meses ago | 1

Answered

Changing data in excel from NA to a previous number in the column?

T = readtable('filename.csv'); % read the file as table T = fillmissing(T,'previous'); % fill NaNs with previous valu...

Changing data in excel from NA to a previous number in the column?

T = readtable('filename.csv'); % read the file as table T = fillmissing(T,'previous'); % fill NaNs with previous valu...

9 meses ago | 0

| accepted

Answered

how can I direct entities on simevent basing myself on probability?

Set a probabity vector and assign the port numbers to the entities based on their probabilities. Connect the Entity Output Swi...

how can I direct entities on simevent basing myself on probability?

Set a probabity vector and assign the port numbers to the entities based on their probabilities. Connect the Entity Output Swi...

9 meses ago | 1

| accepted