photo

AVINASH SAHU


Last seen: 2 years 前 自 2021 起处于活动状态

Followers: 0   Following: 0

统计学

  • Thankful Level 4

查看徽章

Feeds

排序方式:

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 3 个回答 | 0

3

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 2 个回答 | 0

2

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 0 个回答 | 0

0

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

2 years 前 | 1 个回答 | 0

1

个回答

提问


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

3 years 前 | 1 个回答 | 0

1

个回答