已解决


Similar Triangles - find the height of the tree
Given the height, h1, of a power pole, shorter than a tree, a given distance, x2 away, please find h2, height of the tree. Pleas...

4 years 前

已解决


Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
If p is the perimeter of a right angle triangle with integral length sides, { a, b, c }, there are exactly three solutions for p...

4 years 前

已解决


Great Circle Distance
Find shortest between two points on a ball given their azimuthal and polar angles (in degrees) as well as the radius of the sphe...

4 years 前

已回答
Vectorize "for"-loop in multidimentional array
It is conceivable that the loop might be eliminated with some sub2ind calculations followed by linear indexing, but I would expe...

4 years 前 | 0

已解决


Clockwise or Counterclockwise
Given a list of 2-d points defining the vertices of a polygon, determine whether these points are sorted clockwise. The input...

4 years 前

已解决


What is the distance from point P(x,y) to the line Ax + By + C = 0?
Given a point, P(x,y), find the distance from this point to a linear line. INPUTS: x, y, A, B, C OUTPUTS: d, the distance ...

4 years 前

已解决


Covering area
As an extension of the problem <http://www.mathworks.com/matlabcentral/cody/problems/416-polygon-area>, find the area, bounded b...

4 years 前

已解决


Circumscribed circles
Given the lengths of the 3 sides of a triangle, output the radius of the circumscribed circle. Example: [3 4 5] -> 2.5

4 years 前

已解决


Smallest distance between a point and a rectangle
Given two points *x* and *y* placed at opposite corners of a rectangle, find the minimal euclidean distance between another poin...

4 years 前

已解决


Volume of a Parallelepiped
Calculate the volume of a Parallelepiped given the vectors for three edges that meet at one vertex. A cube is a special case ...

4 years 前

已回答
Sort a table in ascending order
The answer would be relatively straightforward, as well as much more efficient, if you would orient your table the other way. Wi...

4 years 前 | 1

| 已接受

已解决


Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
Find the remaining side of a triangle given the hypotenuse and a side. However, the normal functions and symbols are not allowe...

4 years 前

已回答
How to transform a RGB matrix to a weighted adjacency matrix?
Borys, I tackled your problem and wrote a blog post about it: "Transforming a color image to a weighted adjacency matrix"

4 years 前 | 1

| 已接受

已解决


Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

4 years 前

已解决


Television Screen Dimensions
Given a width to height ratio of a TV screen given as _w_ and _h_ as well as the diagonal length of the television _l_, return t...

4 years 前

已回答
Two colormaps in the same plot
The ColorBar object has an undocumented Colormap property. You can set this property directly to control the colors displayed by...

4 years 前 | 0

| 已接受

已解决


Are you in or are you out?
Given vertices specified by the vectors xv and yv, and a single point specified by the numbers X and Y, return "true" if the poi...

4 years 前

已解决


Angle between Two Vectors
The dot product relationship, a dot b = | a | | b | cos(theta), can be used to determine the acute angle between vector a and ve...

4 years 前

已回答
Two colormaps in the same plot
You can't display images with two different colormaps within the same axes. As a workaround, you could convert both images from ...

4 years 前 | 0

已解决


Angle between two vectors
You have two vectors , determine the angle between these two vectors For example: u = [0 0 1]; v = [1 0 0]; The a...

4 years 前

已回答
How to get rid of deconvolution artifacts?
I think this is because you are performing inverse filtering in the frequency domain, and the blurring function has zeros (or al...

4 years 前 | 0

| 已接受

已回答
Function inside for loop not working
One possible explanation for the observed behavior is that the variable hcube does not actually contain a hypercube object when ...

4 years 前 | 0

| 已接受

已解决


Clock Hand Angle 1
Given a time in HH:MM:SS, find the smallest angle (in degrees) between the hour and minute hand

4 years 前

已回答
Extract transformation matrix from image distortion
In your call to fitgeotrans, you have specified that you want a 'polynomial' transformation. This type of transformation is not ...

4 years 前 | 1

| 已接受

已解决


Is the Point in a Circle?
Check whether a point or multiple points is/are in a circle centered at point (x0, y0) with radius r. Points = [x, y]; c...

4 years 前

已回答
Trying add chunk of data to a array
As I understand the code, the fact that ls is empty after the loop implies that either: The while loop body never executes The...

4 years 前 | 1

已回答
Averaging each .STD files
Try this: files = dir("*.Std"); N = numel(files); Date = NaT(0,1); X = zeros(0,3); for k = 1:numel(files) name = str...

4 years 前 | 0

已回答
Averaging each .STD files
[Update: Based on comments from Moses, I submitted another answer to this question. See below.] Try this: files = dir("*.Std")...

4 years 前 | 0

| 已接受

问题


Function Call Counter

4 years 前 | 2 | 6 个解题者

已回答
Get edge points from a hough line
I think I understand your question. Here is one possibility. Using the function intline from the DIPUM Toolbox, create a binary...

4 years 前 | 0

| 已接受

加载更多