Answered
X axis tick labels changes.
Here they are

14 jours ago | 1

| accepted

Answered
How can i change the Width of arrows in feather command?
do this h = quiver(x(2:end),y(2:end),1+dy*0,dy); set(h,'linewidth',2)

14 jours ago | 0

Answered
Why ode45 is not working?
I changed tspan f = @(t,y) [ 4.86*y(3) - 4.86*10^14*y(1)*y(2); 4.86*y(3) - 4.86*10^14*y(1)*y(2); -4....

14 jours ago | 0

Answered
How to convert NaN value to 'zero' ?
Use isnan Enthropy(isnan(Enthropy)) = 0;

15 jours ago | 0

Answered
hi hi hi hi
I believe that re and rm should be functions too re = @(z) sqrt((z(1)+E)^2+z(3)^2); rm = @(z) sqrt((z(1)-M)^2+z(3)^2); zprime...

15 jours ago | 0

| accepted

Answered
segmenting image help please
I just found red color I0 = imread('image.jpeg'); c1 = I0(:,:,1) > 160; c2 = I0(:,:,2) < 60; c3 = I0(:,:,3) < 60; ix = c1 &...

15 jours ago | 0

Answered
How to interpolate/regrid 2-D array
Your X and Y variable of very different scales >> max(x_in(:)) - min(x_in(:)) ans = 5.3750 >> max(y_in(:)) - min(y_in(:)...

15 jours ago | 1

| accepted

Answered
A 2D plot with different colors for each point
Using patch() n = 30; x = linspace(0,10,n)'; y = sin(x); c = jet(n); fv.vertices = [x y]; fv.faces = [1:n-1;2:n]'; ...

15 jours ago | 0

| accepted

Answered
Runge-Kutta 3
Here is the mistake SOlution

15 jours ago | 0

| accepted

Answered
how to export a 2D figure into a cad
See attached script But don't know how to deal with overlapping Use stlwrite to write mesh to file

15 jours ago | 0

Answered
How to get the coefficient uncertainty by polyfit?
Try fit x1 = linspace(x(1),x(end),100); F=fit(x,y,'poly9') plot(x,y) hold on plot(x1,F(x1),'r') hold off F = Lin...

15 jours ago | 0

| accepted

Answered
find pose and angel of marker
Here is a start to find markers I0 = imread('rob.png'); I1 = im2bw(I0,graythresh(I0)-0.3); imshow(I1) Then just use find() t...

15 jours ago | 0

| accepted

Answered
Need help calculating a system of ODE's using the forward Euler method!
I have some tips: These a constants, not functions. YOu should declare them betax = 1; betay = 1; maxx = 1000; maxy = 1000...

15 jours ago | 0

Answered
How to make patch cylinder wheels for this semi truck?
Try this t = linspace(0,2*pi,20)'; [x,y] = pol2cart(t,1); % create data for circle v0 = x*0; X = [v0 x x v0]; Z = ...

15 jours ago | 2

| accepted

Answered
Issue with if loop within kinematics while loop
Everything is OK. The problem is in the parachute: when h < 3000, Fd is large (because of parachute of course). Fd a v (large...

15 jours ago | 0

Answered
Animating a circle inside a rectangle
Mistake: Mistake Also you shoud have conditions when ball collides: if (x<0)||(a<x) vx = -vx; % change sig...

16 jours ago | 2

| accepted

Answered
Trouble solving system of equations -- trying vpasolve
My attempt using fsolve. Result depend on initial guess clc,clear syms a b c d x p = [a b c d]; % system of equations will...

16 jours ago | 0

Answered
Interpolate 2D matrix of x,y coordinates
I manualy cleared points i don't want and interpolated data result see attached script

16 jours ago | 0

Answered
Geometry function - domain sketch
Try pdepoly x = 0:0.1:1; y = x.^2-x+1; x = [0 x 1]; y = [0 y 0]; pdepoly(x,y)

16 jours ago | 0

| accepted

Answered
how can I change variable value in a for loop?
Try this m =[0.1; 0.4; 0.5]; for ii = 1:length(m) S(h,:) = SP(h,:)*m(ii) + delta(h,:) end

17 jours ago | 0

| accepted

Answered
edit a surf plot
Try this x = 1:108; y = 1:192; [X,Y]=ndgrid(x,y); ii = 90:108; jj = 100:192; surf(X,Y,T,'EdgeAlpha',.1); alpha(0.5) hol...

17 jours ago | 0

| accepted

Answered
Why does fsolve not return the correct solution?
The problem is that you are not passing E variable into f function Solution See more HERE

17 jours ago | 3

| accepted

Answered
Continuously update variable in function
Try persistent

18 jours ago | 1

| accepted

Answered
How to remove dates in graph ?
Try this ix = min(xred) < xblue & xblue < max(xred); plot(xred,reddata,'r') hold on plot(xblue(ix),bluedata(ix),'b')

18 jours ago | 0

Answered
Colorbar not matching colormap
Try to change color axis caxis([min(markerColors(:)) max(markerColors(:))])

18 jours ago | 0

Answered
Solve system of two differential equations with bpv4c
First of all: it's a bad practice to assign variables dpdz = [- 32 .* beta .* m0 ./ (R .^ 4 .* p(1)) -( - 8 .* dpdz(1) ...

18 jours ago | 1

Answered
Discontinuities when computing integration of error functions using integral function
The function you are trying to integrate looks like following Put these lines inside for loops ezplot(fun,[0 upperl]) pause...

18 jours ago | 0

| accepted

Answered
Kinematics while loop is infinite, plus other errors.
Here are some tips You forgot about units: height should be in km for density

19 jours ago | 0

Answered
Temperature per specific date as a function of latitude and longitude?
AN example ii = 1:10; str = sprintf('f%d ',ii); str = strsplit(str,' '); str(end) = []; A = table(str',ii',ii'+3,... ...

19 jours ago | 0

Load more