# darova

Followers: 0 Following: 0

**Statistics**

RANK**52**

of 294,641

REPUTATION**3,700**

CONTRIBUTIONS

**0** Questions

**1,598** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**398**

RANK

of 20,133

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

**Feeds**

Plot a curve on vertical axis

What about this a = 30; % left corner angle L = 10; % triangle size r...

3 years ago | 0

How to plot streamline, streakline and pathlines without using 'streamline streamline, odexx or similar functions in Matlab'

What about ode45? Streamline is just a trajectory, if you have vector field you can find a solution [x,y,z] = peaks(20); [u,v]...

3 years ago | 0

3D Sphere projection in Matlab

interpolate in spherical coordinates i = rand(20,1); j = rand(20,1); r = 1 + 0.1*rand(20,1); i1 = linspace(min(i),max(i),30)...

3 years ago | 2

Plot part of sphere by binary map.

What about plot3? [x,y,z] = sphere(20); [az,el] = meshgrid(200:5:250,0:5:20); [x1,y1,z1] = sph2cart(az*pi/180,el*pi/180,1); ...

3 years ago | 0

How to evaluate vector function defined in 2D with meshgrid?

Try cat fun = @(x, y) cat(3, sin(x).*sin(x), cos(x).*cos(y));

3 years ago | 0

How do I fit a surface to this data properly?

I don't have this problem s = load('data.mat'); x = s.x; y = s.y; z = s.z; xx = linspace(min(x),max(x),20); yy = linspace(...

3 years ago | 0

I want to fit lines to the 3D points seen in the photo and get its shape But I do not know how to do it. please guide me. The points file is available.

SOmething is wrong with the data you attached s = importdata('POINT.txt'); x = s(:,1); y = s(:,2); z = s(:,3); plot3(x,y,z,...

3 years ago | 0

| accepted

How can I plot brillouin zone of 14 bravais lattice crystal

What about this [x,y,z] = sphere(4); surf(x,y,z,'facecolor','none')

3 years ago | 0

I have a set of experimental data in form of a parameter as a function of the other, keeping certain conditions constant. How do I know the best curve that fits the data?

Use fit x = 0:0.1:2; y = x.^2 + 0.2*rand(size(x)); f = fit(x(:),y(:),'poly2'); plot(x,y,'.r') line(x,f(x)) legend('origina...

3 years ago | 0

Using fit inside a loop

Try cell sf{1} = @(x) sin(x); sf{2} = @(x) cos(x); x = 0:0.1:10; plot(x,sf{1}(x),'r') line(x,sf{2}(x))

3 years ago | 0

i have to create a grid using meshgrid fn. and name it as grid_mat. i'm unable to name it and select points on it for different planets .

You can't assing variables that way a = b = 0; You can use deal [a,b] = deal(0); Or you can separately initiate variables a...

3 years ago | 0

how to align two similar stl models (one is deformed and other is undeformed) so that I can measure distance between deformed and non deformed nodes?

Use griddata

3 years ago | 0

How do you use contour if you only know f(x,y,z) but not z(x,y)?

Use isosurface with griddata [x,y,z] = meshgrid(-10:10); % x y z range f = x + y.^2 - z.^2; % function ...

3 years ago | 0

| accepted

Howextract results From pdeplot3D to plotthe temperature variation in XY Plan

You are looking for pdecont

3 years ago | 0

How to present point of latitude and elevation on the map by using MATLAB?

See geoshow

3 years ago | 0

| accepted

Calculating area volume from longitude, latitude and altitude

Convert spherical coordinates into cartesian using sph2cart Use alphaShape to build an object and calculate volume

3 years ago | 0

| accepted

How can I extrapolate following data to a certain value in x direction.

Make this changes to your code Transmission = [Tranmission Tansmission(end)]; Length = [Length 5000];

3 years ago | 0

| accepted

How to Interpolate between ROIs in 3D space

Maybe it will be helpfull t = linspace(0,2*pi,11)+pi/2; r = 3 + sin(5*t); % create a start [x,y] = pol2cart(t,r); ...

3 years ago | 0

How to generate Q4 element mesh in selected area?

What about this? x = [-10:-8 -7:7 8:10]; y = [-8:-6 -5:5 6:8]; [X,Y] = meshgrid(x,y); i1 = -8<X & X<8 & -6<Y & Y<6; % ...

3 years ago | 0

| accepted

plot 5 indipendent vectors in 3D plot

Just use griddata to interpolate data Delta is represented by color. x = 20*rand(100,1)-10; % surface coordinates y = 20...

3 years ago | 0

| accepted

Image analysis. Measure the radius of a bending filament as a function of arc length

See this example. Red lines are normals from first edge/curve. I'd use polyxpoly to calculate intersections between normals and ...

3 years ago | 0

Time integration function in Matlab

Use trapz if you have numerical data Use integral for formula

3 years ago | 0

| accepted

I want to hide the circles and only plot centroids with "+" sign

binarize use regionprops

3 years ago | 0

How to rotate a surface(or a 2D plane) in 3D Cartesian coordinate ?

See this example: R = @(a) [cosd(a) -sind(a); sind(a) cosd(a)]; t = 0:.1:2*pi; [x,y] = pol2cart(t,5+sin(5*t)); line(x,y) v1...

3 years ago | 0

| accepted

Plot multiple contours in 3D without volume data

You can use surf t = linspace(0,2*pi,50); [x1,y1] = pol2cart(t,1+0.1*sin(5*t)); % first contour [x2,y2] = pol2cart(t,1); ...

3 years ago | 0

How to find Area Under the Curve of a Smoothing Spline Curve Fitted Model from Discrete Data Points ?

Use code instead of application x = [0.3 0.55 0.6 0.7 0.8 1.2 1.4 2.0 2.5 3.0 3.5 4.0]; y = [0.0010640542,0.0010009253,0.00097...

3 years ago | 0

Create local coordinate system and update throughout flight

Just find tangent of a trajectory x = 0:.1:pi; y = sin(x); u0 = diff(x); % component of a tangent v0 = diff(y)...

3 years ago | 0

Griddata generates duplicate points while plotting CFD imported 3D data on an xy Plane

There is something wrong with the data D = importdata('data.txt'); X = D.data(:,2); Y = D.data(:,3); Z = D.data(:,4); p...

3 years ago | 0