Community Profile

Contact

Top 10% contributor

Dear community, How can I use *'subs'* here? I defined x array to interpolate y and here I want to substitute x= 2 into y ...

2 Answers

0

Asked 11 months ago

yes I modified it as a fun = @(theta_0)(y_1 - y_2); but it still doesn't work I get this error: _Error using fzero (...

Answered 12 months ago

Dear community, I want to plot an array by array but I don't know how to do this. x and y are 1 * 300 arrays. for i = 7e...

Asked 12 months ago

Dear community, Why can't I plot such an easy graph? for i = 1:100 x(1,:) = 1 + 2*i; y(1,:) = 3 + i; end p...

Dear community, I have two matrices which are: x = [0,3e-5, 7e-5, 2e-4, 6e-4, 0.002, 0.006, 0.01, 0.02, 0.03, 0.05, 0.07];...

How can I plot y = log(2,(2-a) in matlab: I have written this code but unfortunately I encounter with errors: a = 0:0.2:1...

Asked 2 years ago

<</matlabcentral/answers/uploaded_files/22331/a.png>> Dear community, I want to determine the area surrounded by these t...

1 Answers

Why am I get discontinuous plot? x = -2*pi:.1:2*pi; y = 2e-6*sin(x).*cos(x)/(10.5e-12*sin(x).^2+13.8e-12*cos(x).^2); ...

Dear There, I got an unknown error on plotting so simple function. My function is: function test x = 0:pi/100:2*pi; y...

Asked 28 days ago

Dear community, I want to use 'fzero' to find the root of my equation. but unfortunately it doesn't work. it gives me this ...

I want to plot a figure but I don't know how to write "s" string with a loop. Here is my code k1=5.3e-12; k3=7.3e-12; mu...

Dear community, I want to determine s1 and s2 areas which are surrounded by these two plots (please see the figure). First...

0 Answers

I solved an ODE with bvp5c function, but here I do not know how to plot my output data which is in array. for ndx = 0:1e-1...

I want to solve bvp differential equation. but after a lot of effort I couldn't . my equation is: (k1*cos(teta)^2+k3*sin(t...