# darova

**Statistics**

RANK**44**

of 239,806

REPUTATION**3,458**

CONTRIBUTIONS

**0** Questions

**1,525** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**334**

RANK

of 16,834

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

3D surface reconstruction from 2D image recorded through a prism

Try something like this: % [xw3,yw3,zw3] - 3D positions of white markers % [xw2, yw2] - 2D positions of white markers % [x...

2 hours ago | 0

How to solve exceed number of array element (1) problem?

Here is the problem. You are redefining the variable inside for loop and it has (1) element again

3 hours ago | 0

| accepted

Results are NaN or absurd if a certain parameter changes.

I suggest you to visualize the data in 3D. See how values change each step T = zeros(20); a = 0.04; % consta...

4 hours ago | 0

How to calculate an area with obtained nodes?

An example of boundary function. polyarea is used to calculate area r = 1; x = linspace(-1,1,20); y = sqrt(r^2 - x.^2); x = ...

4 hours ago | 0

How to count white pixels in Watershed segmented image?

Here is an example with using bwlabel A = zeros(100); t = linspace(0,2*pi,1000); % a lot of points [x,y] = pol2cart(t,1)...

1 day ago | 0

aligning data for fprintf

Here is ax example a = rand(10,1)*1e4; sprintf('a = %7.2f\n',a')

1 day ago | 0

| accepted

Plot a sine wave with decreasing frequency over time

Modify x coordinate x = 0:.1:30; y = sin(x); x1 = x - 10*(x/max(x)).^2; % shift last point 10 units plot(x1,y)

1 day ago | 0

Simulate a dot moving in an ellipse

Use pause() t = linspace(0,2*pi,20); x = 5*cos(t); y = 3*sin(t); h = plot(5,0,'.r'); line(x,y) for i = 1:20 set(h,'xd...

2 days ago | 1

| accepted

I want to find the value of two constants from an equation with two variables

Try fit

2 days ago | 1

Estrarre l'intervallo di dati impostando il valore sulla matrice

Use griddata to interpolate the data Use slice to create slices

2 days ago | 1

How can I condense a larger matrix into a smaller matrix based on elements of a vector?

Read about mat2cell

3 days ago | 0

Is there anyway to Re-grid one dataset to another dataset resolution without interpolating??

Maybe this A = ones(3,3); B = [A;nan(6,3)]; C = reshape(B,3,[])

3 days ago | 0

How can i draw graphene first brillouin zone using matlab?

Here is ax example t = linspace(0,2*pi,7); [x,y] = pol2cart(t,3); surf([x;x],[y;y],[x*0;x*0+1],'facecolor','none') axis equa...

3 days ago | 0

| accepted

Need to access the structure values in numerical form and store it in an array each time the loop runs

Make some modifications An example syms x y sol = solve([5*x-y y-1])

3 days ago | 1

| accepted

How to compare solution of ODE for each time step?

Maybe you are looking for event option. Then just place ode45 insife while loop t0 = 1; while contdition [t,x] = ode45(f,...

3 days ago | 0

How to integrate the indices of a vector of doubles?

Sure t = linspace(0,1,12054); S = trapz(t,AT);

3 days ago | 0

| accepted

trying to use integral transform to multiple large arrays but getting an error about array being too large to calculate

Maybe you need just interpolate the data to make the same size % x data with 88000 elements t1 = linspace(1,88000,15001); ...

3 days ago | 0

how to export two mat.files into a single excel sheet?

Read all your files using load Write all the data using writematrix

3 days ago | 0

Plotting letter "D" on 3D space

3D letter D r = [1 1.5 1.5 1 1]; % radius of a circles t = [-20:10:200 -20]'*pi/180; % closed contour [T...

4 days ago | 0

How to restart a for loop when specific condition is met?

Place for loop inside while loop k = 0; while k < 5 for i = 1:10 if i > 5 k = k + 1; b...

4 days ago | 1

| accepted

extracting sub matrix from a cell array

Try data1 = data{1}(:,3:8)

4 days ago | 1

| accepted

how can I plot a matrix against two other ones? (need to a matrix 3d plotting )

Use surf [x,y,z] = peaks(30); h = surf(x,y,z); for i = 1:20 z = z + 0.5*rand(30); set(h,'zdata',z) pause(0.5) ...

6 days ago | 0

Finding the intersection points between two curves

I'd try fsolve for solving Read help carefully: fplot(f,[0 10])

6 days ago | 1

isosurface with wall thickness

What abouy simply to make thicker a lines? [x,y,z] = peaks(30); surf(x,y,z,'linewidth',3)

7 days ago | 0

how do i continuously calculate an output with an increasing input of angles ?

You need to make wi vector the same size as wj and wk wi = [-w_n+theta*0 0 0]; % i component of W

7 days ago | 0

| accepted

How to get the curvature of a meshed surface?

Here are some ideas: Simple way: Precise way:

7 days ago | 1

| accepted

Change the value of independent variables to solve the dependent variable equation

Use function handle x = 0:.1:10; f = @(a) sin(a*x); plot(x,f(2),'r') line(x,f(5))

7 days ago | 0

| accepted

Detecting circles in noisy images with high intensity variations (must work for all cases)

Is the circle the only figure of closed form? A0 = imread('Sem Título.png'); A1 = im2bw(A0); A2 = imdilate(A1,ones(10)); ...

7 days ago | 0

Detecting black blob (mouse) in .tif frames

Here is the siple script that does the job A0 = imread('img1.png'); A1 = im2bw(A0,0.2); montage({A0 A1})

8 days ago | 0