Respondida
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...

más de 5 años hace | 1

| aceptada

Resuelto


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...

más de 5 años hace

Respondida
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"

más de 5 años hace | 1

| aceptada

Resuelto


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...

más de 5 años hace

Resuelto


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...

más de 5 años hace

Respondida
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...

más de 5 años hace | 0

| aceptada

Resuelto


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...

más de 5 años hace

Resuelto


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...

más de 5 años hace

Respondida
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 ...

más de 5 años hace | 0

Resuelto


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...

más de 5 años hace

Respondida
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...

más de 5 años hace | 0

| aceptada

Respondida
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 ...

más de 5 años hace | 0

| aceptada

Resuelto


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

más de 5 años hace

Respondida
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 ...

más de 5 años hace | 1

| aceptada

Resuelto


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...

más de 5 años hace

Respondida
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...

más de 5 años hace | 1

Respondida
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...

más de 5 años hace | 0

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

más de 5 años hace | 0

| aceptada

Problema


Function Call Counter

más de 5 años hace | 2 | 8 solvers

Respondida
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...

más de 5 años hace | 0

| aceptada

Resuelto


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

más de 5 años hace

Resuelto


Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

más de 5 años hace

Resuelto


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

más de 5 años hace

Resuelto


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

más de 5 años hace

Resuelto


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

más de 5 años hace

Resuelto


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

más de 5 años hace

Resuelto


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

más de 5 años hace

Resuelto


Return area of square
Side of square=input=a Area=output=b

más de 5 años hace

Resuelto


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

más de 5 años hace

Resuelto


Are all the three given point in the same line?
In this problem the input is the coordinate of the three points in a XY plane? P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) how can...

más de 5 años hace

Cargar más