Answered
While loop if condition
Hi Braden, You can add these conditions in the while loop. (~isreal(left)) % To check if left is a complex number (imag(left)...

3 years ago | 0

| accepted

Answered
Delete the first element from each first row inside the cell array
Hi Daria, You can try A1 = cellfun(@(x) x(2:end), A, 'UniformOutput', false) For more information about cellfun, look here. ...

3 years ago | 1

| accepted

Answered
1x0 emtpy double row vector?
Hi Metin, In MATLAB, the colon operator indicates the range of values that are used for an operation. lowestNum:HighestNum is ...

3 years ago | 0

Answered
How to convert array so that I have only numerical values
Hi Pavan, As from the snippet provided, i can see a pattern where from 6 element the numeric value starts and has till last but...

3 years ago | 0

Answered
BER in scatter plot
Hi Darshan, BER is not releated to complex symbols. So, it can'e be known from scatter plot. You need to first demodulate the ...

3 years ago | 0

| accepted

Answered
How to design a filter to pass frequencies between 0 and 12Hz
Hi Hishan, You can confirm if your filter designed meets the requirements, by looking at the frequency response of the filter u...

3 years ago | 0

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

3 years ago

Answered
5G DMRS sequence generation
Hi Bryan, The function nrPRBS accepts a vector or a scalar to specify the number of elements in the sequence, n. When n is spe...

3 years ago | 0

| accepted

Answered
which filter generate after prepossessing signals into Signal Analyzer app, IIR or FIR ?
HI Dhiraj, The singal analyzer app, preprocess the signal using these functions for the corresponding filters: lowpass, (Low p...

3 years ago | 1

| accepted

Answered
MODELING POWER AMPLIFIER IN MATLAB AND DPD BLOCK DESIGN
Hi Madhurima, For quick start, you can look after the video here and the corresponding example here. Hope this helps. Regards...

3 years ago | 0

Answered
physical layer implementation of ieee 802.11ah
Hi, IEEE 802.11 ah physical layer simulation framework is available with WLAN Toolbox. For Tx, Rx and channel modeling relat...

3 years ago | 0

Answered
sort applied after CCE-TO-REG mapping post interleaving
Hi Yatin, The "sort" is used to effect the frequency-first filling *per OFDM symbol* for the resource blocks within a control c...

3 years ago | 0

Answered
How can I run 5G NR Downlink Signal Generator
Hi Chanuk, The application shown in the video is a demo file and is made up using the 5G Toolbox. To generate the NR-TM or FRC...

3 years ago | 0

| accepted

Answered
How do I subplot multiple tiles that I divided from a satellite image in one figure?
Hi Oanh, You can try the following, since you are there are 16 x 16 tiles. tiles=zeros(500,500); tiles = mat2cell(TOARef_B{5}...

3 years ago | 1

| accepted

Answered
how can i plot positive magnitude only of a sine wave
Hi Ali, From next time, please post the code you tried and where you have struck. So, that if one wants to try out the things, ...

3 years ago | 1

Answered
Error Using Plot for a Derived Fourier Transform Signal
Hi Mohammed, The code that is provided as some variable issues. I tried to correct and placed the code here, based on what u r ...

3 years ago | 1

| accepted

Answered
USING MEX TO SPEED UP THE CODE
Hi Yogendra, Once you generated the mex (MATLAB executable) using MATLAB Coder. Then, observe that there will be a file generat...

3 years ago | 1

Answered
Filter transfer function for impulse response
Hi ACICY, I think you just wanted to confirm if the transfer function placed is apt or not. You made a good try, but seems tha...

3 years ago | 0

Answered
RF Toolbox and Simulink library browser
Hi Krishnan, RF Toolbox wont be visible in Simulink Library Browser, it is mainly the MATLAB environment. I think you wanted t...

3 years ago | 0

Answered
What does ''all'' mean in M = min(A, []. ''all'') ?
Hi xxtan1, The 'all' flag indicates all the elements of the matrix. If the matrix A, as you mentioned is 4 x 4, then min(A,[]...

3 years ago | 2

| accepted

Answered
Saving plots in signal analyzer app
HI Hamidreza, Inorder to save the output displays, you can copy and paste them on another application like Word, Paint. Then, s...

3 years ago | 0

Answered
Find the general solution of the equation y′−y= y2ex.
Hi Satyanarayana, Differential equations can be solved with dsolve function. Here is the code, that you might be looking for: ...

3 years ago | 0

Answered
How accessible is Simulink for visually impaired users?
Hi Stuart, Here is the accessibility statement of 2020 Q1 https://www.mathworks.com/support/accessibility.html As a first step...

3 years ago | 0

Answered
Creating a Vector with 5 elements in a specific way
Hi Yuval, n = 5; u = 2.^(0:n-1); Hope this helps. Regards, Sriram

3 years ago | 0

Answered
Simple circuit using Simulink
Hi Luca, You can draw this in Simulink, if you hace access to Simscape Electical. There are quite a good number of examples an...

3 years ago | 0

| accepted

Answered
Sum of two numbers is not accepted
Hi Stanislav, It is the way the floating point airthmetic are performed in MATLAB. If you would have tried 0.14 + 0.001 equals...

3 years ago | 1

Answered
How to reshape matrix 2 columns by 2 columns
Hi Ren, Use individual columns and append them. For the sample code you provided, it can be done as below: a = [1 0 2 0 2 3; ...

3 years ago | 0

| accepted

Answered
plot does not display anything using hold on
Hi Dekel, The way you are accessing pix_value_mat indicates it could be a scalar. If there a single value plotted over the valu...

3 years ago | 0

Answered
Is there a bug in the if function
HI Tianyuan, The issue is not with the if condition, but the way the MATLAB deals with the floating point numbers. "Almost all ...

3 years ago | 0

Answered
I keep getting the following error "Unable to convert expression into double array" for the code given below, please help
Hi Ruban Karthik, The issue you observe is due to the conversion of symbolic variables to double. For the input provided, the ...

3 years ago | 0

Load more