I am an EDG intern at Mathworks. My responsibilities is to provide the best support for an application like Communication, Signal Processing, Bluetooth.

Disclaimer: Any articles /ideas/opinions here are my own and in no way reflect that of Mathworks.

Answered

Why Does eig() Not Throw an Error for Non-Square, Symbolic Input?

This bug has been fixed and the updates will be available in the future release.

Why Does eig() Not Throw an Error for Non-Square, Symbolic Input?

This bug has been fixed and the updates will be available in the future release.

24 days ago | 0

| accepted

Answered

Translation of Python to Matlab

Hello Simon, You can see the MathWorks documentation here to know how to append new rows to a matrix. Incase you want to append...

Translation of Python to Matlab

Hello Simon, You can see the MathWorks documentation here to know how to append new rows to a matrix. Incase you want to append...

24 days ago | 0

Answered

Test Manager - Trigger response assessment with variable time

Since T_min gets defined only when a trigger occurs the possibility that during first trigger, T_min is unassigned properly and ...

Test Manager - Trigger response assessment with variable time

Since T_min gets defined only when a trigger occurs the possibility that during first trigger, T_min is unassigned properly and ...

25 days ago | 0

| accepted

Answered

Duplicate live script figure appearing

There are few possible reasons this might have happened in your case, Sometimes you might have initialized or created an object...

Duplicate live script figure appearing

There are few possible reasons this might have happened in your case, Sometimes you might have initialized or created an object...

25 days ago | 0

Answered

EMI/EMC based lab mini projects/experiments

Hi Swati, You can design an EMI and EMC based circuit design using the RF Toolbox or Simscape and further analyze for results us...

EMI/EMC based lab mini projects/experiments

Hi Swati, You can design an EMI and EMC based circuit design using the RF Toolbox or Simscape and further analyze for results us...

25 days ago | 0

Answered

Exception in thread "AWT-EventQueue-0": java.lang.IllegalArgumentException: 'frame' cannot be null

Hi Vishal, This is a Java related issue. You can find answer to a similar question here.

Exception in thread "AWT-EventQueue-0": java.lang.IllegalArgumentException: 'frame' cannot be null

Hi Vishal, This is a Java related issue. You can find answer to a similar question here.

25 days ago | 0

Answered

Implement discrete pseudo Wigner distribution in matlab

You can call the ‘wvd’ function from Signal Processing Toolbox to get the smoothed pseudo Wigner-Ville distribution of an Input ...

Implement discrete pseudo Wigner distribution in matlab

You can call the ‘wvd’ function from Signal Processing Toolbox to get the smoothed pseudo Wigner-Ville distribution of an Input ...

25 days ago | 0

Answered

Call Scripts during Simulink Simulation

There are few possible ways to your question, You can call a MATLAB script from Simulink by using any of the callbacks as per...

Call Scripts during Simulink Simulation

There are few possible ways to your question, You can call a MATLAB script from Simulink by using any of the callbacks as per...

25 days ago | 0

Answered

How to plotthe estimated probability of a bit error for FSK

Hi Mahabba, The berawgn takes Eb/N0 value as bit energy to noise power spectral density ratio (in dB). This requires calculatin...

How to plotthe estimated probability of a bit error for FSK

Hi Mahabba, The berawgn takes Eb/N0 value as bit energy to noise power spectral density ratio (in dB). This requires calculatin...

25 days ago | 0

Answered

Getting symbolic equation into a format that can be used as a function for fmincon

From the limited information provided, I assume that you give a symbolic variable to the FMINCON function. Kindly check the clas...

Getting symbolic equation into a format that can be used as a function for fmincon

From the limited information provided, I assume that you give a symbolic variable to the FMINCON function. Kindly check the clas...

25 days ago | 0

Answered

How to write my own extrude function

You can directly use the extrude function in the MATLAB PDE toolbox. Further if you want to calculate the distance of a single p...

How to write my own extrude function

You can directly use the extrude function in the MATLAB PDE toolbox. Further if you want to calculate the distance of a single p...

25 days ago | 0

Answered

Known the ideal and real phase response of analog filter, how to design all-pass filter using the phase difference to obtain linear phase response?

All Pass filter basically provides fixed phase shifts depending on the frequency of the input signal. The phase shift change dep...

Known the ideal and real phase response of analog filter, how to design all-pass filter using the phase difference to obtain linear phase response?

All Pass filter basically provides fixed phase shifts depending on the frequency of the input signal. The phase shift change dep...

25 days ago | 0

Answered

QAM Modulation, Demodulation, Detection, and Eye Diagrams

Since this seems like a homework assignment, if you can provide the code you've written to solve the problem and ask a specific ...

QAM Modulation, Demodulation, Detection, and Eye Diagrams

Since this seems like a homework assignment, if you can provide the code you've written to solve the problem and ask a specific ...

25 days ago | 0

Answered

ODE 45 Solver Help

Hi Skye, In your first file you have missed to change the function handle name to the name of second file ‘ode_sys_2equations’ ...

ODE 45 Solver Help

Hi Skye, In your first file you have missed to change the function handle name to the name of second file ‘ode_sys_2equations’ ...

25 days ago | 0

Answered

phase shifting for ssb modulation

You can use the ssbmod function with required input arguments which will do the complete single sideband amplitude modulation wi...

phase shifting for ssb modulation

You can use the ssbmod function with required input arguments which will do the complete single sideband amplitude modulation wi...

27 days ago | 0

Answered

Triggered pulse generator with two inputs

With the few possibilities of A and B mentioned, the logic looks like SR flip flops. Incase your logic matches with SR Flip Flop...

Triggered pulse generator with two inputs

With the few possibilities of A and B mentioned, the logic looks like SR flip flops. Incase your logic matches with SR Flip Flop...

27 days ago | 0

Answered

Plotting grapf of heat exchanger

The plot(c(:,1), c(:,3)) considers the first value of c(:,1) as x coordinate and first value of c(:,3) as the y coordinate and ...

Plotting grapf of heat exchanger

The plot(c(:,1), c(:,3)) considers the first value of c(:,1) as x coordinate and first value of c(:,3) as the y coordinate and ...

27 days ago | 0

Answered

How to use For loop

Expressions like a<b<c are interpreted as (a<b)<c which turns out to compare the logical result from a<b (either 0 or 1) with c....

How to use For loop

Expressions like a<b<c are interpreted as (a<b)<c which turns out to compare the logical result from a<b (either 0 or 1) with c....

27 days ago | 0

Answered

A digital code has more than one distinct set of corresponding analog values. This is often caused by initial conditions.

The error is self-explanatory considering the function. The function takes analog signal value, digital code value, analog dynam...

A digital code has more than one distinct set of corresponding analog values. This is often caused by initial conditions.

The error is self-explanatory considering the function. The function takes analog signal value, digital code value, analog dynam...

3 months ago | 0

Answered

LTE DLSCH Decode - HARQ issue

Let us assume STATEIN to be the input argument and STATEOUT as output from the lteDLSCHDecode function for clarity. The STATEIN ...

LTE DLSCH Decode - HARQ issue

Let us assume STATEIN to be the input argument and STATEOUT as output from the lteDLSCHDecode function for clarity. The STATEIN ...

3 months ago | 0

| accepted

Answered

How can I generate time shifted Dirac delta function(impulse response)?

You can generate a time shifted dirac delta function by using the dirac function. Assuming the time shift to be a value ‘a’, dir...

How can I generate time shifted Dirac delta function(impulse response)?

You can generate a time shifted dirac delta function by using the dirac function. Assuming the time shift to be a value ‘a’, dir...

3 months ago | 0

Answered

Parity Check Matrix Generation for 5G LDPC

The nrLDPCEncode gets the input data matrix and the base graph number as its arguments. You were right about the association of ...

Parity Check Matrix Generation for 5G LDPC

The nrLDPCEncode gets the input data matrix and the base graph number as its arguments. You were right about the association of ...

3 months ago | 0

Answered

Simulations with undefined variables

You can save the variable to the base workspace by using the To Workspace block or by using the Data import/export option in the...

Simulations with undefined variables

You can save the variable to the base workspace by using the To Workspace block or by using the Data import/export option in the...

3 months ago | 0

Answered

Plotting A Waveform With Various Inputs

Few of the inputs mentioned are common to sine, square and triangular wave and some are specific. I am not sure of what exactly ...

Plotting A Waveform With Various Inputs

Few of the inputs mentioned are common to sine, square and triangular wave and some are specific. I am not sure of what exactly ...

3 months ago | 0

Answered

Why am I getting "Unrecognized function or variable 'EM'."?

My initial analysis indicates this error was because the function ‘EM’ is not defined either as a local function nor as a Matlab...

Why am I getting "Unrecognized function or variable 'EM'."?

My initial analysis indicates this error was because the function ‘EM’ is not defined either as a local function nor as a Matlab...

3 months ago | 0

Answered

when saving the figure ,the color made by stem function will change

Hello Zen, Looks like your .png/.jpeg file still holds the same color. Try changing the linewidth property and use the marker p...

when saving the figure ,the color made by stem function will change

Hello Zen, Looks like your .png/.jpeg file still holds the same color. Try changing the linewidth property and use the marker p...

3 months ago | 0

Answered

Simulink: How to hold a if conditional over a period of time

For an easy solution you can use Stateflow and create two states OFF and ON. Get the input SOC and check if it is greater than 8...

Simulink: How to hold a if conditional over a period of time

For an easy solution you can use Stateflow and create two states OFF and ON. Get the input SOC and check if it is greater than 8...

3 months ago | 0

Answered

Is there a tool for copying equations from, say, the MATLAB documentation into a .m file?

Hello Keenan, You cannot find the M file of the ‘Induction motor’ Simulink Block. You can find the subsystem blocks of it by ri...

Is there a tool for copying equations from, say, the MATLAB documentation into a .m file?

Hello Keenan, You cannot find the M file of the ‘Induction motor’ Simulink Block. You can find the subsystem blocks of it by ri...

3 months ago | 0

Answered

Arduino Support from MATLAB Not Installing

My initial analysis indicates this crash was the result of a known issue. You can refer to the following question for resolution...

Arduino Support from MATLAB Not Installing

My initial analysis indicates this crash was the result of a known issue. You can refer to the following question for resolution...

3 months ago | 0

Answered

Probabiliy Distributions in 3-D

You can use the surf function to create a 3D surface plot. This function lets you have an interactive 3D plot where you can have...

Probabiliy Distributions in 3-D

You can use the surf function to create a 3D surface plot. This function lets you have an interactive 3D plot where you can have...

3 months ago | 0

| accepted