# SAHIL SAHOO

**Statistics**

**MATLAB Answers**

**55** Questions

**0** Answers

RANK**210.456**

of 271.730

REPUTATION**0**

CONTRIBUTIONS

**55** Questions

**0** Answers

ANSWER ACCEPTANCE **
52.73%
**

VOTES RECEIVED**0**

RANK

of 18.322

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 120.285

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

**Content Feed**

Question

how to display those value of M, which is only less than 1?

ti = 0; tf = 70E-8; tspan=[ti tf]; KC = 1E-4; for j = 1:100 y0= [(10e-2)*rand(2,1); ((-3.14).*rand(1,1) + (3.14).*rand(1,1)...

7 dagen ago | 1 answer | 0

### 1

answerQuestion

I'm not getting the correct result for the u, i want it in degree but the ans is not right, the plot is not smooth.

ni = 1; nt = 1.5; t = 0:0.1:1.57; oi = rad2deg(t); u = asind((nt.*sin(oi))./ni); ot = abs(u); r1 = -(sind(oi-ot)./sind(oi+...

ongeveer 2 maanden ago | 3 answers | 0

### 3

answersQuestion

how to rid of this warning and get correct solution?

ti = 0; tf = 1E-7; tspan=[ti tf]; k = 5E-3; h = 10E-2; y0= [(h)*rand(2,1); ((-3.14).*rand(1,1) + (3.14).*rand(1,1)); ...

ongeveer 2 maanden ago | 1 answer | 0

### 1

answerQuestion

I'm adding legend in the graph for the 4 plot in the same graph, please help me in this.

ti = 0; tf = 1E-3; tspan=[ti tf]; y0 = [(10E-6).*rand(10,1);((-3.14).*rand(4,1) + (3.14).*rand(4,1))]; % intial conditions o...

ongeveer 2 maanden ago | 1 answer | 0

### 1

answerQuestion

I gave the initial condition correctly still the program not working.

ti = 0; tf = 70E-8; tspan=[ti tf]; k = (0.62).*10^(-5); % y0= [(10e-6)*rand(2,1); ((-3.14).*rand(1,1) + (3.14).*rand(1,1)); ...

ongeveer 2 maanden ago | 2 answers | 0

### 2

answersQuestion

i want to add a loop so that it works like this.

ti = 0; tf = 1E-3; tspan=[ti tf]; KC = 4E-3; y0= [ (10e-6)*rand(2,1); ((-3.14).*rand(1,1) + (3.14).*rand(1,1)); (10e-...

2 maanden ago | 1 answer | 0

### 1

answerQuestion

how to mark a given point on the graph?

ti = 0; tf = 1E-3; tspan=[ti tf]; KC = 4E-3; y0= [ (10e-6)*rand(2,1); ((-3.14).*rand(1,1) + (3.14).*rand(1,1)); (10e-...

2 maanden ago | 0 answers | 0

### 0

answersQuestion

how to write equation in matlab for E(t-tp) where the E is E(t) but introduce a tp delay time.

ti = 0; tf = 2.50E-9; tspan=[ti tf]; y0=[0; 0]; [T,Y]= ode45(@(t,y) rate_eq(t,y),tspan,y0); subplot 211 plot(T,Y(:,1)...

2 maanden ago | 1 answer | 0

### 1

answerQuestion

plotting this program is causing a problem how to fix it?

clear k = 1E-3; [y(4),y(5),y(6)] = meshgrid(-4:0.25:4,-4:0.25:4,-4:0.25:4); dy(1) = (P - y(1).*((abs(y(4)))^2 +1))./tf; dy...

2 maanden ago | 1 answer | 0

### 1

answerQuestion

I tried plot a 3d animated but it doesn't work.

ti = 0; tf = 1E-2; tspan=[ti tf]; y0 = [(10E-6).*rand(6,1);((-3.14).*rand(2,1) + (3.14).*rand(2,1))]; % intial conditions o ...

2 maanden ago | 1 answer | 0

### 1

answerQuestion

how to add "drawnow" function in it?

ti = 0; tf = 1E-2; tspan=[ti tf]; y0 = [(10E-6).*rand(6,1);((-3.14).*rand(2,1) + (3.14).*rand(2,1))]; % intial conditions o ...

2 maanden ago | 1 answer | 0

### 1

answerQuestion

I'm asking a math question if anyone can help please let me know, this is not a MATLAB problem just a mat problem, sorry for inconvenience

is this graph by any how a attractor, I'm not expert in this but this show some kind of synchronised chaos.

2 maanden ago | 0 answers | 0

### 0

answersQuestion

generating random no. between -pi to pi

I want to generate 5 random no. beteeen -pi to pi, by using the rand function, I use the rand function but couldn't understant t...

2 maanden ago | 1 answer | 0

### 1

answerQuestion

i couldn't understand the problem in it

I think the code is correct but some lsit mistake please help me to find it. ti = 0; tf = 1E-3; tspan=[ti tf]; y0 = [0.8;0.7...

2 maanden ago | 2 answers | 0

### 2

answersQuestion

why error occurring in the program, i already define the z1 correctly i think?

clear P = 12.67; A = 0.1; tc = 230E-6; tp = 5.4E-9; h = 10E-2; w1 = 10E5; w2 = 14E5; w3 = 12E5; w4 = 6E5; w5 = 16E5;...

3 maanden ago | 1 answer | 0

### 1

answerQuestion

I couldn't plot the function because it seems vector length isn't same, please help me in it.

clear tc = 30E-9; P = 0.05; k= 3E-3; h = 10E-2; T =10^3; time = 0:0.1E-4:4E-4; a= 3; func1 = @(z1,x1) (P - z1 - ...

3 maanden ago | 1 answer | 0

### 1

answerQuestion

generation of random no.

y0=[0; 0; 0; 0; 0; sqrt(0.05); sqrt(0.05); sqrt(0.05) ; sqrt(0.05); sqrt(0.05); 0; 0; 0; 0; 0; 0; 0; 0; 0; 0] can it's possibpl...

3 maanden ago | 1 answer | 0

### 1

answerQuestion

is my program for solving differential equation is correct or not?

to solve this couple differential equation i wrote a program, Z1....Z5 is y(1)...y(5), X1...X5 is y(6).......y(10) and Φ1......

3 maanden ago | 0 answers | 0

### 0

answersQuestion

how to generate the no. in increasing order but with decreasing difference between the no.?

eg:- i want to generate the no. from 10 to 40 but i want the no. will generate like 10 20 28 34 40. in this the no. is genera...

3 maanden ago | 1 answer | 0

### 1

answerQuestion

I couldn't understand the problem in it? and I did't know where I should put the "o" ?

clc ti = 0; tf = 1E-3; tspan=[ti tf]; P = 1.27; a = 0.1; tc = 230E-6; tp = 5.4E-9; o = rand(1,5)*100E3; k = 1E-3; k1 =...

3 maanden ago | 1 answer | 0

### 1

answerQuestion

can I generate random no. from 0 to 10E5, but the condition is ?

I want to generate random no. between 0 to 100E3 but the no. will be in increasing order rand(1,5) like this i want to genera...

3 maanden ago | 1 answer | 0

### 1

answerQuestion

there is an error in describing the loop, please help me to resolve this one.

clear x = linspace (-1,1,256); y = linspace (-1,1,256); [X,Y] = meshgrid(x,y); r = sqrt(X.^2 + Y.^2); z= 0; w = 100; E0 =...

3 maanden ago | 1 answer | 0

### 1

answerQuestion

why the image is not display in the output?

lambda=500e-9; k=(2*pi)/lambda; a=1e-6; Io=100.0; R=1.0e-3; Y=(-0.25e-2:1e-5:0.25e-2); Z=Y ; I(1:length(Y),1:length(Z)...

3 maanden ago | 1 answer | 0

### 1

answerQuestion

my rand operation is applied correctly, I think but it's not working.

clear ti = 0; tf = 10E-3; tspan=[ti tf]; y0=[1; 1; 0; 1; 1; 0; 1; 1; 0; 1; 1; 0; 1; 1; 0; 0; 0 ; 0; 0; 0]*10E-4; yita_mn = ...

3 maanden ago | 1 answer | 0

### 1

answerQuestion

what's the problem in my loop I couldn't understand in this

x=linspace(-1,1,256); [X,Y]=meshgrid(x,x); r=sqrt(X.^2+Y.^2); R=0.05; t = 0.3; l= 0:36:360; for i = 1:length(l) h(...

3 maanden ago | 1 answer | 0

### 1

answerQuestion

is there any method to apply the for loop in this, I caN't see any pattern please help in this

ti = 0; tf = 10E-2; tspan=[ti tf]; KC = 1E-3; y0= ones(1,80)*1E-3; yita_mn = [ 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1...

3 maanden ago | 1 answer | 0

### 1

answerQuestion

did I plot the "r" factor correctly in it?

ti = 0; tf = 1E-4; tspan=[ti tf]; y0=[1; 1; 1; 1; 1; 1; 1; 1; 1; 1; 0; 0; 0; 0; 0]; N = 5; tp = 5.4E-9; [T,Y]= ode45(@(t,y...

3 maanden ago | 1 answer | 0

### 1

answerQuestion

in this I apply a loop so that I will have different value of Y(:,11) for the different value of initial condition for Y(:,11), what is correct algorithm for this??

please check this code is it right or worng? and please lemme know he correct program for this. ti = 0; tf = 1E-3; tspan=[ti ...

4 maanden ago | 1 answer | 0

### 1

answerQuestion

why the plot is not coming, is my plot function is wrong? please find the defect in the code.

ti = 0; tf = 1E-3; tspan=[ti tf]; y0=[1; 1; 0; 1; 1; 0; 1; 1; 0; 1; 1; 0; 1; 1; 0]*10E-2; yita_mn = [0 1 0 0 1; 1 0 1 0 0; 0...

4 maanden ago | 1 answer | 0

### 1

answerQuestion

why I'm getting an error of index exceeds the number of element? how to fix it?

ti = 0; tf = 2.50E-9; tspan=[ti tf]; y0=[0; 0; 0]; yita_mn = 0.01; N = 5; [T,Y]= ode45(@(t,y) rate_eq(t,y,yita_mn,N),tspan...

4 maanden ago | 0 answers | 0