Answered

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

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

17 giorni ago | 0

| accepted

Answered

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

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

18 giorni ago | 0

| accepted

Solved

Clock Hand Angle 1

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

18 giorni ago

Answered

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

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

19 giorni ago | 1

| accepted

Solved

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

19 giorni ago

Answered

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

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

19 giorni ago | 1

Answered

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

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

25 giorni ago | 0

Answered

Averaging each .STD files

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

Averaging each .STD files

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

25 giorni ago | 0

| accepted

Answered

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

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

28 giorni ago | 0

| accepted

Solved

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.

29 giorni ago

Solved

Make a random, non-repeating vector.

This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

29 giorni ago

Solved

Number of 1s in a binary string

Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

29 giorni ago

Solved

Return the first and last character of a string

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

29 giorni ago

Solved

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

29 giorni ago

Solved

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

29 giorni ago

Solved

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

29 giorni ago

Solved

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

29 giorni ago

Solved

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

29 giorni ago

Solved

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.

29 giorni ago

Solved

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

circa un mese ago

Solved

Side of an equilateral triangle

If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...

circa un mese ago

Solved

Calculate the area of a triangle between three points

Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

circa un mese ago

Answered

Variable Variation over the same range

I am interpreting your question this way: you would like to compute depth_tot_7 for all possible combinations of the different v...

Variable Variation over the same range

I am interpreting your question this way: you would like to compute depth_tot_7 for all possible combinations of the different v...

circa un mese ago | 0

| accepted

Solved

Change a specific color in an image

The ability to change colors can be a useful tool in image processing. Given an m x n x 3 array (much like CData in images), fin...

circa un mese ago

Solved

Sorting integers by their digits (Level 4)

This is the next step up from <http://www.mathworks.com/matlabcentral/cody/problems/42815-sorting-integers-by-their-digits-level...

circa un mese ago

Solved

Look Up Mapping

Let the input is A = {[] [] [] [1] []}; B = {'A','B','C','D','E'}; Mapped Output = 'D';

circa un mese ago

Solved

Assignment Problem

Given a matrix where row i corresponds to person i, and column j corresponds to task j and cell (i,j) corresponds to the time ta...

circa un mese ago

Solved

Check if a rotated array was originally sorted

Suppose a sorted array is rotated at some pivot unknown to you. For example, |[0 1 2 4 5 6 7]| might become |[5 6 7 0 1 2 4]|. ...

circa un mese ago