I am an Application Support Engineer in Engineering Development Group at the Mathworks, Hyderabad.

My areas of interest are MATLAB, HDL Coding and VLSI.

DISCLAIMER: Any advice or opinions here are my own, and in no way reflect that of Mathworks.

Answered

Solution to Indeterminate set of equations

You will get the solution, just use the proper variable names. Either use equation everywhere or equations. Same with unknowns.

Solution to Indeterminate set of equations

You will get the solution, just use the proper variable names. Either use equation everywhere or equations. Same with unknowns.

24 minuten ago | 0

Answered

How to create a chessboard?

I am assuming that you are using plot function to create the chessboard, which is resulting in bands in the output. Instead of i...

How to create a chessboard?

I am assuming that you are using plot function to create the chessboard, which is resulting in bands in the output. Instead of i...

ongeveer 3 uur ago | 0

Answered

Can I model an Organic Rankine Cycle system using Simulink?.

Refer to the following example, it might help you: Rankine Cycle (Steam Turbine)

Can I model an Organic Rankine Cycle system using Simulink?.

Refer to the following example, it might help you: Rankine Cycle (Steam Turbine)

ongeveer een maand ago | 0

Answered

Simulink Error Message "Derivative of state '1' in block ____ at time 0.0 is not finite. The simulation will be stopped. There may be a singularity in the solution."

In the Configuration Parameters, set the diagnostic "Inf or NaN block output" to 'error', you will get the following error: "An...

Simulink Error Message "Derivative of state '1' in block ____ at time 0.0 is not finite. The simulation will be stopped. There may be a singularity in the solution."

In the Configuration Parameters, set the diagnostic "Inf or NaN block output" to 'error', you will get the following error: "An...

ongeveer een maand ago | 0

Answered

move plot lines above annotations

Hello, Change the 'XAxisLocation' property to 'bottom'

move plot lines above annotations

Hello, Change the 'XAxisLocation' property to 'bottom'

ongeveer een maand ago | 0

Answered

App Designer: XY Zoom and XY Pan settings

Hi, Most probably its because clipping of the plot is taking place when you are zooming in, just set 'clipping' property of UIa...

App Designer: XY Zoom and XY Pan settings

Hi, Most probably its because clipping of the plot is taking place when you are zooming in, just set 'clipping' property of UIa...

ongeveer een maand ago | 0

Answered

Live editor tiny plots

Hi, I am assuming you are using R2019b version and tried to reproduce the issue in R2019a as well as R2019b using the code give...

Live editor tiny plots

Hi, I am assuming you are using R2019b version and tried to reproduce the issue in R2019a as well as R2019b using the code give...

ongeveer een maand ago | 0

Answered

have output equations displayed in term of inputs of Simulink model

For the given model, you can use Linear Analysis Tool to linearize the model. Refer this link to know more about this tool. You...

have output equations displayed in term of inputs of Simulink model

For the given model, you can use Linear Analysis Tool to linearize the model. Refer this link to know more about this tool. You...

ongeveer een maand ago | 0

Answered

An error is reported when plotting the Nyquist curve with matlab. Please help me to see the problem and how to modify it?

Refer to the documentation of nyquist function, you will find that the input argument to the function should be a system transfe...

An error is reported when plotting the Nyquist curve with matlab. Please help me to see the problem and how to modify it?

Refer to the documentation of nyquist function, you will find that the input argument to the function should be a system transfe...

ongeveer een maand ago | 0

Answered

simscape gas to physical system transition possible???

Various sensors are available in Simscape library which converts that particular system (eg. Gas,Electrical,etc) property to ph...

simscape gas to physical system transition possible???

Various sensors are available in Simscape library which converts that particular system (eg. Gas,Electrical,etc) property to ph...

ongeveer een maand ago | 0

Answered

Parallel Computing while Using fmincon and simulink

Hi, You can refer to the following link to know about Parallel Computing in Optimization Toolbox, https://www.mathworks.com/h...

Parallel Computing while Using fmincon and simulink

Hi, You can refer to the following link to know about Parallel Computing in Optimization Toolbox, https://www.mathworks.com/h...

ongeveer een maand ago | 0

Answered

Half Wave Diode Problem

Few points to be noted: Find out the value of ta (point at which source voltage is maximum i.e. V0) You are using both ta and ...

Half Wave Diode Problem

Few points to be noted: Find out the value of ta (point at which source voltage is maximum i.e. V0) You are using both ta and ...

2 maanden ago | 0

Answered

Extract transfer function to simulink block diagram

Hi, You can use the 'Transfer Fcn block' in simulink to model any system by tranfer function, refer following link for document...

Extract transfer function to simulink block diagram

Hi, You can use the 'Transfer Fcn block' in simulink to model any system by tranfer function, refer following link for document...

2 maanden ago | 0

Answered

How to create Simulink Fifo model and accept the data from workspace ?

Hi, You can use the 'Queue' Block from DSP System Toolbox to implement the FIFO, refer following link for documentation: https...

How to create Simulink Fifo model and accept the data from workspace ?

Hi, You can use the 'Queue' Block from DSP System Toolbox to implement the FIFO, refer following link for documentation: https...

2 maanden ago | 0

Answered

How to assign new variables to an equation with set parameters?

You can modify the code as following: syms lambda L_sun lambda = (0.001:0.01:3)*1e-6; j=1; k=1; l=1; for i=1:300 ...

How to assign new variables to an equation with set parameters?

You can modify the code as following: syms lambda L_sun lambda = (0.001:0.01:3)*1e-6; j=1; k=1; l=1; for i=1:300 ...

2 maanden ago | 0

Answered

[Simulink / Simscape] How to make an signal in this circuit

Yes, the circuit you made is correct only and you can refer to the following clips on Physical Modeling using Simscape: https:/...

[Simulink / Simscape] How to make an signal in this circuit

Yes, the circuit you made is correct only and you can refer to the following clips on Physical Modeling using Simscape: https:/...

3 maanden ago | 0

Answered

How do i calculate damping ratio using a half power method

You can refer to the following case to calculate the -3 dB intercept and hence can calculate the bandwidth: https://www.mathwor...

How do i calculate damping ratio using a half power method

You can refer to the following case to calculate the -3 dB intercept and hence can calculate the bandwidth: https://www.mathwor...

3 maanden ago | 0

Answered

Find averages of Simulink model

You can try the following options: Option 1: You can use the MER Measurement Block (refer following link for documentation) to ...

Find averages of Simulink model

You can try the following options: Option 1: You can use the MER Measurement Block (refer following link for documentation) to ...

3 maanden ago | 0

Answered

Simulink (in Matlab 2019a) - constellation diagram block - color fading effect not observed

Hello I have brought this issue to the notice of our developers. They will investigate the matter further.

Simulink (in Matlab 2019a) - constellation diagram block - color fading effect not observed

Hello I have brought this issue to the notice of our developers. They will investigate the matter further.

5 maanden ago | 1

Answered

벡터v가 나머지 벡터들의 일차결합인가를 결정하라.

First, make a matrix whose each row contains the transpose of each of the given vector like: A = [ v'; u1'; u2'; u3' ] Then re...

벡터v가 나머지 벡터들의 일차결합인가를 결정하라.

First, make a matrix whose each row contains the transpose of each of the given vector like: A = [ v'; u1'; u2'; u3' ] Then re...

5 maanden ago | 0

| accepted

Answered

Index in position 1 is invalid. Array indices must be positive integers or logical values.

Like Walter said, the first parameter 'F' need to be a function handle, for eg. F=@(x,y)(sin(x)+cos(y)) One more thing is, if ...

Index in position 1 is invalid. Array indices must be positive integers or logical values.

Like Walter said, the first parameter 'F' need to be a function handle, for eg. F=@(x,y)(sin(x)+cos(y)) One more thing is, if ...

5 maanden ago | 0

Answered

how splitting data in one column into two column in EXCEL file by MATlab?

You may use readtable in place of xlsread to read the table. To seperate lowest and highest address of each address range, use s...

how splitting data in one column into two column in EXCEL file by MATlab?

You may use readtable in place of xlsread to read the table. To seperate lowest and highest address of each address range, use s...

5 maanden ago | 0

Answered

Creating a fractal using for and if structures

Hi Emani, As Walter said you can use this line: plot (m,n,'*'); to get the point on the plot and if you want all the points y...

Creating a fractal using for and if structures

Hi Emani, As Walter said you can use this line: plot (m,n,'*'); to get the point on the plot and if you want all the points y...

6 maanden ago | 0

Answered

Trouble using symsum function to solve the Radiation Resistance eqn. for a finite dipole

Hi Brandon, You can use vpa function to get the result as follows: vpa(Rad_resist,4); To see how vpa function works you can r...

Trouble using symsum function to solve the Radiation Resistance eqn. for a finite dipole

Hi Brandon, You can use vpa function to get the result as follows: vpa(Rad_resist,4); To see how vpa function works you can r...

6 maanden ago | 0

| accepted

Answered

find coordinate(-s) on a plot

Hi Argy, You can use logical indexing to find the x-ordinates corresponding to y = 10 as follows: x = [1 2 3 4 5]; % x v...

find coordinate(-s) on a plot

Hi Argy, You can use logical indexing to find the x-ordinates corresponding to y = 10 as follows: x = [1 2 3 4 5]; % x v...

6 maanden ago | 0

Answered

how to write a function that outputs even and odd components of a signal.

Hi Christian, As you have not mentioned any input vector, so I am assuming the input as a random vector and the function create...

how to write a function that outputs even and odd components of a signal.

Hi Christian, As you have not mentioned any input vector, so I am assuming the input as a random vector and the function create...

6 maanden ago | 0

| accepted

Answered

polyfitn, problem have coefficent and r2 alone

Hi Gryaa, If you check the size of pkurtosissil.Coefficients in the workspace, it is [1 x 3] and you are trying to store it in ...

polyfitn, problem have coefficent and r2 alone

Hi Gryaa, If you check the size of pkurtosissil.Coefficients in the workspace, it is [1 x 3] and you are trying to store it in ...

6 maanden ago | 1

| accepted

Answered

The use of Sum()

Hi Joshua Like I previously mentioned in my comment, you cannot pass a line to the "sum( )" function. From the code it seems t...

The use of Sum()

Hi Joshua Like I previously mentioned in my comment, you cannot pass a line to the "sum( )" function. From the code it seems t...

6 maanden ago | 0

Answered

in simrf is impedance(Z) and resistor(R) same？

Hi Zhao If you refer to the documentation of Impedance(Z) in the following link, you will find that even if you set the impedan...

in simrf is impedance(Z) and resistor(R) same？

Hi Zhao If you refer to the documentation of Impedance(Z) in the following link, you will find that even if you set the impedan...

6 maanden ago | 0

Answered

What is the best method to add a Permanent Magnet Linear Generator block to a design?

Hi Akshay Refer to the following link: https://www.mathworks.com/matlabcentral/fileexchange/43815-modeling-and-design-analysis...

What is the best method to add a Permanent Magnet Linear Generator block to a design?

Hi Akshay Refer to the following link: https://www.mathworks.com/matlabcentral/fileexchange/43815-modeling-and-design-analysis...

6 maanden ago | 0