Top 10% contributor
How can I use *'subs'* here?
I defined x array to interpolate y and here I want to substitute x= 2 into y ...
Asked 3 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 4 months ago
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 4 months ago
Why can't I plot such an easy graph?
for i = 1:100
x(1,:) = 1 + 2*i;
y(1,:) = 3 + i;
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 1 year ago
I want to determine the area surrounded by these t...
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);
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
I want to determine s1 and s2 areas which are surrounded by these two plots (please see the figure).
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:
Join the conversation