Answered
How to hold previous selection in masked block
The solution to this problem has been addressed in this thread. Hope this helps!

4 years ago | 0

Answered
Plot BER & SNR of LTE
To obtain the BER values for a LTE channel, refer to the example elaborated upon here. Click on “Try it in MATLAB” to get the M-...

4 years ago | 0

| accepted

Answered
Examples of matlab2016
You can find the documentation of previous MATLAB releases in the Archived MathWorks Documentation here. Hope this helps!

4 years ago | 0

| accepted

Answered
Syntax error in Simulink Fcn
Make sure the variables “c1”, “c2”, “u”, “c3”, “cw”, “A” and “rho” are defined in the MATLAB workspace or in one of the callback...

4 years ago | 0

Answered
Analysing the results of a fullfactorial experiment
A possible workflow for this could be to normalize each of the factor values using the “normalize” function elaborated here. Se...

4 years ago | 0

Answered
Fine Tuning Kalman Filter Using Simulink Design Optimization
A similar query regarding the Q and R matrices’ optimization was addressed and elaborated upon here. It is important to model th...

4 years ago | 0

Answered
Using bisection to determine unknown parameter
The results of function_Q2(a) and function_Q2(b) are negative, therefore no root exists within the interval [a,b]. The “if” cond...

4 years ago | 0

Answered
Filtering of frame by frame IQ data from SDR
To filter the frame-based samples, you can use the “filter” function with a “filter” object as shown here. By appropriately assi...

4 years ago | 0

| accepted

Answered
how to impliment pseudo random binary singal in simulink ?
A general way to generate a random binary signal would be to use the “Random Number” block that has been elaborated here, follow...

4 years ago | 2

Answered
FFT analysis through powergui block is showing empty in signal options.
Hi, Given that I have been unable to reproduce this issue, a possible workaround I have identified would be to connect the outp...

4 years ago | 0

Answered
Comparing FIR1 bultiin function for generating coefficients with my Function.
The difference between the 2 filter coefficients arises for the following reasons: “fir1” normalizes the coefficients as descri...

5 years ago | 0

| accepted

Answered
USRP B210 CW trasmition and reception
The USRP B210 has 2 RF channels. When a single channel is transmitting, the receiver of the same channel is inactive. In other w...

5 years ago | 0

Answered
Undefined function or variable 'hNRDownlinkWaveformGenerator'
The “hNRDownlinkWaveformGenerator” is a helper function that was introduced in the 5G toolbox that is available in all releases ...

5 years ago | 0

Answered
How to specify Bandwidth for communication modulation signals
Hi, The Phased Array System Toolbox has waveform objects with Bandwidth as one of the properties. This allows us to specify the...

5 years ago | 0

| accepted

Answered
Hanning Window of Infinite Sine Wave
Hi, The Hanning Window coefficients can be generated using the “hann” function. The operation of the function is defined in th...

5 years ago | 0

Answered
Release 12 Sidelink PSCCH and PSSCH Throughput Example - hPerfectTimingEstimate
Hi, The “perfectChanEstimator” flag and “hPerfectTimingEstimate” function were introduced in MATLAB R2018b. For R2017b, the Re...

5 years ago | 1

Answered
How to plot the power spectrum and the cross spectrum for spike trains?
Hi, As I understand, you have tried to perform spectrum analysis on impulse trains generated using the functions “pwelch”, “fft...

5 years ago | 0

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

5 years ago

Solved


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

5 years ago

Solved


Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

5 years ago

Solved


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

5 years ago

Solved


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

5 years ago

Solved


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

5 years ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

5 years ago

Solved


Making change
Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...

5 years ago

Solved


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

5 years ago

Solved


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

5 years ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

5 years ago

Solved


Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

5 years ago

Load more