photo

Sordin


Aktiv seit 2017

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Simulation of irrational numbers
I am trying to generate two random numbers and such that their ratio is an irrational number. I understand that all numbers s...

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Indexing error using sum
I have written a simple code that performs a moving average smoothing algorithm (it averages adjacent bins to a single bin simi...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Algorithm for curve smoothing
I have written a simple code that performs a 3-point moving average smoothing algorithm. It is supposed to follow the same algor...

mehr als 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Randomly dividing an integer (non-uniform distribution)
I am trying to write a code that randomly divides a number into parts (in other words, I want to generate random numbers whos...

mehr als 5 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


Extrapolating intersection points (signal processing/curve fitting)
I have a data set which consists of a series of adjacent dips. Below I have plotted the data using the line style specifier '-o'...

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Adjusting the dimensions of input argument
I have written a function which takes in a row vector as the input. If is a column vector, I want the program to convert it in...

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Grouping using for loops (signal processing)
I am working with a signal data that consist of consecutive dips as shown below. I am only interested in the portion of the sign...

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Checking the range of input arguments
I have a function where two of the input parameters ( and ) must be within the range . So I have written the following code to c...

mehr als 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Pie chart color assignment
I am trying to make a pie chart of two quantities. Using a colormap, I have assigned two different colours to each of the quanti...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Restricting getrect boundaries (image processing)
When using the _getrect_ function, is there any way to restrict the selected rectangle so that it cannot be dragged outside the ...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Circular region in an image
I am trying to replace a circular region in one image with the corresponding region in another image. Here is my code so far: ...

fast 7 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Using getrect for Image Processing
I am trying to use the _getrect_ function to replace a selected portion of one image with the corresponding portion in another i...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Assigning random values to image pixels
I am trying to assign random values to the elements of a rectangular region within an image matrix, so that the result looks som...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Alphamap using Binary Mask
Is it possible to make an alphamap for a figure based on its binary mask? Here is a sample image and its binary: <</matlab...

mehr als 7 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Volumetric slice plot of tomographic data
I am trying to use the <https://au.mathworks.com/help/matlab/ref/slice.html slice> function to stack the following 79 slices and...

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Bidirectional concatenation using cat (image zero-padding)
I am trying to zero-pad the borders of an image by a certain amount (xPad, yPad) using the |cat| function. It takes four lines o...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Image rotation and NaN elements
The following code rotates an image by a given angle θ. I do not understand the function and significance of the last line: ...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


2-D Meshgrid Rotation Matrix Multiplication
I am trying to rotate the coordinates of a 182x182 mesh grid by means of multiplication with the rotation matrix: <</matlabce...

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Using double instead of im2double for images?
I want to convert an input image into floating point, so that interpolation using _interp2_ will be possible. I want to achieve ...

mehr als 7 Jahre vor | 2 Antworten | 1

2

Antworten