Community Profile

photo

darova


155 2019 年以降の合計貢献数

darova's バッジ

  • 3 Month Streak
  • Knowledgeable Level 3
  • First Answer
  • Solver

詳細を表示...

貢献した分野
表示方法

回答済み
How to extract curve data from such a JPEG image?
Try this simple script. Like it please We have a picture with green pixels. What we gonna do now?

1日 前 | 0

| 採用済み

回答済み
Evaluate shaped areas of a matrix
what about inpolygon()? can you please accept my answer?

1日 前 | 0

| 採用済み

回答済み
How to Make Circle Rotate and Revolve
Like my idea if i helped you

3日 前 | 0

回答済み
How can I plot different quadrilateral with different range of coordinates per node?
Look at my soultion clc,clear x = [-1 1 1 -1]*25; y = [-1 -1 1 1]*25; plot(x,y,'or'); % plot original node...

3日 前 | 0

| 採用済み

回答済み
how to generate planar projections from a 3d model
You want crossection of a surface in Z and other planes. Here is an example: clc,clear [X,Y,Z] = peaks(40); figure(1) cont...

5日 前 | 0

回答済み
How can these equations be converted into the format to be input in bvp4c ODE solver ?
This is an example from mathworks It is yours % u(-1) == ya(1) % du(-1) == ya(2) % u(1) == yb(1) % du(1) == yb(2) u(...

8日 前 | 1

| 採用済み

回答済み
interpolate curve to some blob
Find center of a circle and radius A - start point ( - direction vector ) B - End point (mass center?) M - middle point be...

10日 前 | 0

| 採用済み

回答済み
How to find the extremum search curve of a parametric surface?
If you have specific point (local max or min) you can substitute (x0,y0) in your function - first search curve (any x) - sec...

13日 前 | 1

| 採用済み

回答済み
Using findpeaks from a certain point
If the data is [x;y] [pks, locs] = finpeaks(y); x(locs(2)) - x(locs(1)) % dinstance in X direciton between first tw...

13日 前 | 0

回答済み
How to reflect a curve
If you know the angle of a line you can just flip the curve then rotate on 2a xnew = x*cos(2*a) - (-y)*sin(2*a); ynew = x*sin(...

16日 前 | 0

回答済み
How to solve the intersections between helix and sphere?
You have to find t where distance from center coordinates to helix equals sphere radius x = r*cos(w*t)+x0; y = r*sin(w*t)+y0; ...

16日 前 | 0

| 採用済み

回答済み
3d plot of a wave equation solution
I used formula to generate x,y,z (t=1) and u0 = u(x,y,z,1) as color? Calculation takes some time. How to vectorize it? That is...

16日 前 | 1

| 採用済み

回答済み
non-linear coupled second order ODE with matlab
According to Torsten suggestions function bvp4c_mathworks rspan = [0.05 1]; init = zeros(1,4); solinit = bvpinit(rspan,init)...

19日 前 | 0

| 採用済み

回答済み
Plotting path on torus
Look HERE Take a closer look on formulas

20日 前 | 0

回答済み
Change of surface in a rectangular tank
I suggest you to clarify your code. There are some errors i think x=pi x0=0.05; omega=3; beta0=0.1; g=10; z0=(1-(beta0*g)*...

21日 前 | 0

| 採用済み

回答済み
Finding the 2 closest coordinates for a point
[D,I] = pdist2(X,Y,'euclidean','Smallest',1); Im gonna be MVP (Most Valueble Person), maybe MathWorks will start to pay me. Acc...

21日 前 | 1

| 採用済み

回答済み
Calculate volume below a 3D points
Which volume do you want to calculate? Values of surface are below and above also I tried rough method: values of Z in each ...

23日 前 | 0

| 採用済み

回答済み
Integral of my area
Is it correct? for i = [20 30 31 40] t = VVV{i}; ErT1{i} = trapz(t(550:554)); end % ErT1{i}=trapz(VVV{i}) ; % VV- ...

24日 前 | 0

| 採用済み

回答済み
Find the intersection of a square pixel with a closed 2D curve
Doesn't consider below case (use intersect() if it matters to you): Only when nodes inside our outside (base on inpolygon()) ...

27日 前 | 1

回答済み
Anyone have any tips to improve my code for findpeaks() so that I get only the first big peaks for each graph like those in transducers 10,13 and 1 but only one of them per graph? I want the first arrival time. Thanks.
If you want first peak use locs(1) If you want max peaks use max() If you want a few maximum peaks use sort() Did i understan...

約1ヶ月 前 | 0

回答済み
How to solve a system of two non-linear equations symbolically
Use matlabFunction() to make function handle from symboliv expression L0 = matlabFunction(L0); L1 = matlabFunction(L1); A = 0...

約1ヶ月 前 | 0

回答済み
Solving for ball trajectory with quadratic drag
'What I've noticed is that positions x,y,z don't even appear in my equations, so they are not used inside the function dxdt.' I...

約1ヶ月 前 | 1

| 採用済み

回答済み
Helping to create animated wrapping line on a torus
Read about surf() and meshgrid() to plot torus Simple example for animation (actually it's just drawing new object in time) Re...

約1ヶ月 前 | 0

回答済み
Aircraft wing fuel tank modelling
Another way: Calculate the volume of a tank at some control levels % schematic algorithm if V < V1 Y_fuel ...

約1ヶ月 前 | 0

回答済み
How to calculate the distance, in pixels, between each centroid in a binary image.
pdist2 finds distances between every point (every possible combinations. Zeros in matrix means distance to points themselves) ...

約1ヶ月 前 | 1

回答済み
How to find the boundary points in one direction
What if just find() indices where x > 0.95?

約1ヶ月 前 | 1

| 採用済み

回答済み
I know a certain y1 and I want to find the respective x1.
I'd use polyxpoly or intersections x = linspace(0,10,20); y = sin(x); y1 = 0.6; % find x at y=0.6 ...

約1ヶ月 前 | 0

回答済み
ode23 , matrix equation , 2nd order DE
You can find roots for x'', y'' and dtheta'' every iteration solving matrix equation function du = func(t,u) u1 = u(1:3)';...

約1ヶ月 前 | 0

| 採用済み

回答済み
How to connect lines in a skeletonized image with arcs
Use bwmorph() to find branch points. I sorted them in counter clock-wise order: Find distance and center between neighbor poi...

約1ヶ月 前 | 0

回答済み
Find the set of 3d data parrallel to the current 3d data
Choose some points (P1,P2,P3) from your data - vector of the first line (blue) - some temporary vector between P2 and P3 poi...

約1ヶ月 前 | 0

| 採用済み

Load more