# Guru Mohanty

**Statistics**

RANK**812**

of 271,635

REPUTATION**74**

CONTRIBUTIONS

**0** Questions

**59** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**3**

RANK

of 18,321

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 120,206

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**1** Public Channel

AVERAGE RATING**50**

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Count connections in model

You can count the number of connections under a mask with the help of the following block parameter setting. lineHandles = find...

2 years ago | 0

True or false to elements of a cell array?

Hi, I understand you are getting some problem with your code. The error is due to these following reasons. In the Line if ...

2 years ago | 0

| accepted

simulation of matmatical equestions

The model for the differential equation appears to be correct. Meanwhile, you can go through this to model ODEs using Simulink. ...

2 years ago | 0

Connecting 2 signals in Simulink gives an error about data type

Hi, error in the model is due to the Product block. Its two inputs are of datatype 'int8' and 'double' and the output is of type...

2 years ago | 0

How to make a checkerboard function

Hi, I understand you are trying to make a checkerboard function. You can do this by two nested for loops. Here is a sample code ...

2 years ago | 0

Combining XY plots with arbitrary line shapes (combining spectra)

Hi, I understand you are trying to plot common elements between two datasets. You can use intersect function to get an overlap b...

2 years ago | 0

| accepted

how to read from disk a text file containing columns of numbers and columns of characters

Hi, I understand you are trying to read data from a txt file and store processed data in another txt file. You can do this using...

2 years ago | 0

| accepted

How can I plot the Shockley Queisser Limit?

Hi, I understand you are trying to plot Shockley Queisser. You can plot by these following steps. clc;clear all; Eg = linspace...

2 years ago | 0

| accepted

Simscape - Cable and pulley

Hi, I understand you are trying to model a pulley system using simscape. Here is a simple example of a pulley system. ...

2 years ago | 0

| accepted

Index in position 2 exceeds array bounds (must not exceed 13). , code to operate an IEEE 14/30 bus im looking into using WLS method. added a few details in order to plot the estimated vs real data. cannot work. please help!

Hi, I tried to execute your code with some random input. The error in your code is due to the following line tol = 5; while(to...

2 years ago | 0

| accepted

QCQP error of fmincon: Row dimension of A is inconsistent with length of b.

Hi, I Understand you are trying to minimize C with the discission variable dp. To use fmincon function ie min(f) the condition i...

2 years ago | 0

how to add output port in Ideal three-phase VI measurements?

Hi, I understand you are trying to visualize VI Measurement of a 3 phase system through a scope. You can use a Three-Phase V-I M...

2 years ago | 0

| accepted

symbolic derivative of lagrangian & kinematic coefficient

Hi, I understand you want to find the first and second derivative of the following expression. You can do this by the following ...

2 years ago | 0

Solving ODE with two variables and derivatives

Hi, I understand you are trying to solve the system of two variable ODE. Numerically, you can do this using ode45. Here is the m...

2 years ago | 0

How can I take the time derivative of a function?

Symbolic toolbox can be used in your case. To do this you need to do the following steps. Declare the variables using syms. Bu...

2 years ago | 0

help ㅜㅜㅜㅜㅜ Convert formulas to Mathlab code

You can define this integral using following steps: Declare constants and variables. Use syms to declare a symbolic variable. ...

2 years ago | 0

Solving for an mathematical expression under certain parametric conditions

Hi, I understand you want to solve a equation under some parametric condition. To set some parametric condition you can use assu...

2 years ago | 0

how to create a custom resistor

Hi I understand you want to create custom resistor using simscape. You can do it through following steps. Simulink To PS Conver...

2 years ago | 0

I cannot solve the vpasolve using a symbolic function. Symbolic equal to Inf

Hi, I understand you are trying to solve these equations using vpasolve. In your code there are some undeclared variables as 'Re...

2 years ago | 1

How to create a loop that runs a function and save output through subfolders in a directory?

Hi, I understand you are trying to access subfolders and write data into it. You can access the content of subfolder by these fo...

2 years ago | 0

Generate long piecewise function

Hi, you want to get piecewise value of the slope between two heights. You can use interp1and gradientfunction for this. Here is...

2 years ago | 0

Fractional derivative to solve ODE in the sense of Caputo

Hi, I have gone through your code. I think you are getting Array indexing error. Its due to these following reasons. In this s...

2 years ago | 1

understanding DDE23 function format

I understand you are trying to solve system of differential equation using ‘dde23’. To do this you need to do following steps. ...

2 years ago | 0

| accepted

how can i create discrete square wave with simulink

I understand you are trying to create a discrete square wave using Simulink. It can be done using Signal Generator and Zero Orde...

2 years ago | 0

Extracting from vector to multidimensional array using indices provided

I understand you are trying to extract data from a vector to multidimensional array without for loops. It can be possible using...

2 years ago | 0

ODE SYSTEM OF EQUATION

I understand you are trying to solve system of ODEs using RK iteration. The error occurred in the iteration due to following rea...

2 years ago | 0

How to find the minimum of a three variable function (optimization)?

To find Minimum of a three variable function you follow these two processes. Using Symbolic Toolbox Define your variables usin...

2 years ago | 0

Bifurcation Diagram of Logistic Equation -- Unnecessary Lines in Code?

After debugging your code, it seems the section of code you mentioned is irreverent, because of following reasons. for i = 1:20...

2 years ago | 0

minimize the error between calculated values and experimental results

Hi, I understand you are trying to minimize error for given set of data. The error in your code is due the fact that the functio...

2 years ago | 0

| accepted