# AVINASH SAHU

Followers: 0 Following: 0

**Statistics**

**MATLAB Answers**

**25** Questions

**0** Answers

RANK**198.446**

of 292.638

REPUTATION**0**

CONTRIBUTIONS

**25** Questions

**0** Answers

ANSWER ACCEPTANCE **
84.0%
**

VOTES RECEIVED**0**

RANK

of 19.922

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 147.762

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

Facing problem while solving this.

p1 = @(x) (1./F(x)) .* ((0.5 .* hbar(x)) - Q); P = @(x) integral(@(x) p1(x),0,x,'ArrayValued', true); xi = lins...

bijna 2 jaar ago | 1 answer | 0

### 1

answerQuestion

Getting the error. "index exceeds the number of array elements".

a =2; ndiv = 100; x = linspace(0,1,ndiv); dx = x(2)-x(1); for i = 2: (ndiv-1) h(i) = a - (a-1)*x(i); dh = (h(i...

bijna 2 jaar ago | 1 answer | 0

### 1

answerQuestion

Why the following code is not generating plot for W?

Reference figure: plot should be like this for W refer square ones. Ho = 1; alpha = 0.1; a = 1.0; sigma = 0.15; lba...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

I am getting data values as 1 x 100. How to reduce it to 1x6 i.e, require values of y w.r.t x at 0.2 0.4, 0.6, 0.8

syms x warning off alpha = -0.1; sigma = 0.1; eps = -0.1; e = 0.2; a = 2; lambda = 2; M = 4; psi_list = [10, 30, 40, ...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

Getting error while trying to access the data of the following plot.

syms x warning off alpha = -0.1; sigma = 0.1; eps = -0.1; e = 0.2; a = 2; lambda = 2; M = 4; psi_list = [10, 30, 40, ...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

How can I extract data from the following Matlab figure, there are multiple lines.

alpha = -0.1; sigma = 0.1; eps = -0.1; e = 0.2; M = 4; a = 2; psi_list = [10, 20, 30, 40, 50]; lambda = 0:0.2:4; for...

ongeveer 2 jaar ago | 3 answers | 0

### 3

answersQuestion

Please find the mistake in this code.

Reference image: plot should be like this but don't know where I am making mistake. syms x lambda warning off alpha = -0.1;...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

I want to plot between "W" and "lambda" for different values of "psi" but don't know what's going wrong.

syms x lambda warning off alpha = -0.1; sigma = 0.1; eps = -0.1; e = 0.2; M = 10; a = 2; figure psi_list = [10, 20, 3...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

Want to obtain plot between "W" and "lambda" for different values of "psi" but getting the following error.

syms x lambda warning off alpha = -0.1; sigma = 0.1; eps = -0.1; e = 0.2; M = 10; a = 2; figure psi_list = [10, 20,...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

Why it is not making plot for different values of "M"?

syms x alpha = -0.1; sigma = 0.1; eps = -0.1; e = 0.2; a = 2; lambda = 2; psi = 10; figure M_list = [4, 6, 8, 10]; ...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

I want to draw graph between "P" and "x" but it is throwing the following error.

syms x alpha = -0.1; sigma = 0.1; eps = -0.1; lambda = 2; M = 4; psi = 0.1; a = 2; figure A = eps + alpha^3 + (3 * ...

ongeveer 2 jaar ago | 2 answers | 0

### 2

answersQuestion

How to plot these two plots in a single figure and using both y axis?

syms r psi_list = [1, 0.1, 0.01, 0.001]; % example: 0.1, 0.01, 0.001 figure hold on for i = 1:numel(psi_list) psi = p...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

How to plot these two plots in a single figure and using both y axis?

syms r psi_list = [1, 0.1, 0.01, 0.001]; % example: 0.1, 0.01, 0.001 figure hold on for i = 1:numel(psi_list) psi = p...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

How to plot graph between "W" and "r" for multiple values of "psi" on the same figure?

% plotting graphs syms r psi = 0.01; % example: 0.1, 0.01, 0.001 alpha = (12*psi)^(1/3); l1 = @(r) (r + alpha)*...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

I want to plot between "W" on y axis and "r" on x axis, with "W" ranging from 0 to 0.2 in the interval of 0.05 and "r" ranging from 1 to 6 in the interval of 1. How to do it?

% plotting graph syms r psi = 1; alpha = (12*psi)^(1/3); l1 = @(r) (r + alpha)*(r + alpha); l1a = @(r) r*r - r*alpha...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

I want to obtain value of "W" for different combination of values of (psi,r) example. "W" for (psi=0.0001,r = 2.1891) ; (psi=0.001,r = 2.1940); (psi=0.01,r = 2.2373) and so on

psi = 0.001; alpha = (12*psi)^(1/3); r = 2.1940; l1 = (r + alpha)*(r + alpha); l1a = r*r - r*alpha + alpha*alpha; L1 = ...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

Why this loop is executing 4 times?

% For plane slider: H = Ho + a(1-x) Ho = 1; alpha = 0.1; eps = 0.1; a = 1.0; lbar = 0.1; SIGMA = 0:0.05:0.15; sigma = ...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

How can I put multiple values of lbar[0.2 0.3 0.4] and sigma[0.1 0.15 0.20] to obtain the subsequent multiple values of W, F,f,deltaT and Xbar.

% For plane slider: H = Ho + a(1-x) Ho = 1; alpha = 0.1; eps = 0.1; a = 1.0; lbar = 0.2; sigma = 0.10; H = @(x) Ho + a*...

ongeveer 2 jaar ago | 0 answers | 0

### 0

answersQuestion

How to input multiple value of 'lbar' like 0.1, 0.2 , 0.3 and multiple value of 'sigma' like 0.1, 0.15, 0.2 to obtain multiple output values of W?

% For plane slider: H = Ho + a(1-x) Ho = 1; alpha = 0.1; eps = 0.1; a = 1.0; lbar = 0.3; sigma = 0.15; H = @(x) Ho + a*...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

After this I want to integrate P1 from 0 to x (let's say this function to be P2) and then again integrating the function P2 from 0 to 1. I don't know how to proceed.

% For plane slider: H = Ho + a(1-x) Ho = 1; alpha = 0.1; eps = 0.1; a = 1.0; lbar = 0.1; sigma = 0.05; H = @(x) Ho + a*...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

Getting error is this code, there are multiple input values of "betasqr" and "sbar" for multiple output values of Wbar, Fbar, fbar and Ybar.

betasqr = [0.2 0.4]; gamma = 0.3; psi = 0.001; mu = 1.0; sbar = [1/0.02 1/0.04]; a = 2; % Steps for findin...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

In this code how can I put multiple values of "betasqr" for example 0.2, 0.4, 0,6 and subsequently multiple values of "sbar" for example 1/0.02, 1/0.04, 1/0.06 (contd in des)

% (contd.) to obtan 9 values of Wbar, Fbar, fbar and Ybar respectively corresponding to "betasqr" = 0.2 ,"sbar" = 1/0.02 ; "beta...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

Getting error in this code.

betasqr=0.2; gamma=0.3; psi = 0.001; mu = 1.0; sbar = 50; A = @(x) (4+sbar)-(sbar*betasqr*gamma).*(x.*(1-x)).^0.5; B = @(x...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

How to get different values of Wbar, Fbar and fbar for different values of r and psi like for psi = [0.0, 0.0001] and similarly for 'r'.

k = 1:21; Hbar=0.04; % A:Length of bearing, H:Bearing wall thickness, Hbar = H/A r= 1.7773; % Film thickness ratio psi=0.0;...

ongeveer 2 jaar ago | 1 answer | 0

### 1

answerQuestion

Not showing output in command window of 'testing' script.

SIGMOID FUNCTION function y = Sigmoid(x) y = 1/(1 + exp(-x)); end SGD Method function function Weight = SGD_method(Weight, ...

meer dan 2 jaar ago | 1 answer | 0