Community Profile # Dhawal Beohar

Last seen: 1 month ago Active since 2019

#### Statistics

• • #### Content Feed

View by

Question

How to use vector value in equation?
I am trying to use value of g0 from (a) to (b), can anyone please correct me... d1=20; n=10^-11.4; ne=0.5; m=2.7; a=0.01:...

2 months ago | 1 answer | 0

### 1

Question

how to store the value of intersection points from fzero into a vector
I am calculating fzero using fzero function. For each value of 'a' (ranging from 0.1 to 1) I need to get value of u*(intersectio...

2 months ago | 1 answer | 0

### 1

Question

I am trying to plot a figure with different value of a parameter but the graph is plotting on negative Y axis.
I am trying to plot a figure with different value of 'a' but when I am entering value of 'a' below 0.5, the graph is plotting on...

2 months ago | 0 answers | 0

### 0

Question

Unable to perform assignment because the indices on the left side are not compatible with the size of the right side. Can anyone please help, Thanks in advance.
Error in UvsPs (line 39) muo(i) = (-1./u).*log(((d1.^m)./(a.*n.*PsByN_0.*T.*u+d1.^m).*a)./(1-a)); clc clear all; d1=20; ...

4 months ago | 1 answer | 0

### 1

Question

Not able to find fzero
--> difference.m function y = difference(u,d1,n,a,m,T,PsByN_0,UmaxN_0) d1=20; n=10^-11.4; m=2.7; a=0.5; T=1; PsByN_0d...

4 months ago | 2 answers | 0

### 2

Question

ERROR: Array indices must be positive integers or logical values. Can anyone please help, Thank You!
clc clear all; %Parameters defined PsByN_0dB = 3; PsByN_0=10.^(PsByN_...

5 months ago | 1 answer | 0

### 1

Question

ERROR: FSOLVE requires all values returned by functions to be of data type double.
I understand FSOLVE does not work with sym variables but it is not working using fzero as well. OR is there any alternative? ...

7 months ago | 1 answer | 0

### 1

Question

Matlab giving the warning of Exiting fzero!
Exiting fzero: aborting search for an interval containing a sign change because complex function value encountered during s...

7 months ago | 1 answer | 0

### 1

Question

How can I write E2 in MATLAB? is it expint?
E2 is written same as expint?

7 months ago | 0 answers | 0

### 0

Question

I am trying to solve fsolve (multi-variable) but getting an error.
function fval = func4uo(u) d1=1; n=1; m=1; a=1; T=1; PsByN_0=1; fval = ((-1/u)*log((d1^m)/(a*n*PsByN_0*T*u)+d1^m)*a...

8 months ago | 3 answers | 0

### 3

Question

How to write exponential integral in equation?
How can I write above equation in matlab code, where E1 is exponential integral.

2 years ago | 1 answer | 0

### 1

Question

Can anyone please help how to simulate closed form expression in Matlab?
How to simulate closed form expression in Matlab?

2 years ago | 1 answer | 0