Community Profile # Anton Semechko

Last seen: 29 dagar ago Active since 2012

Physiological signal processing, medical and microscopy image processing, computational anatomy, machine learning

#### Statistics

All
• • • • • • • • • • • • #### Content Feed

View by

Question

none of the axes interactions are working in axes embedded in a UIFigure panel
Problem: The interactions of an axes object embeded in a UIFigure panel are not working. The interactions I am trying to add to ...

### 0

PCA on high dimensional data
A 13952736-by-104 data matrix (with observations along rows and variables along columns) will take up 13952736*104*8/2^30 =...

ungefär 3 år ago | 0

| accepted

Fitting scattered data to multiple cosine functions
Below is an example where I use brute-force search to find an optimal set of sinusoid parameters that best fit an unorganized da...

mer än 3 år ago | 1

| accepted

imshow() not working
Use syntax: imshow(im,[]) when im has non-integer format. Or just do this: im = imread('/MATLAB Drive/My Project/ima...

mer än 3 år ago | 0

| accepted

distance of points to points calculation
Use <https://www.mathworks.com/help/stats/knnsearch.html#namevaluepairarguments 'knnsearch' function>. For example: [idxA,D_...

mer än 3 år ago | 0

| accepted

How is the number of bins chosen with the auto binning algorithm in histcounts?
'histcounts' first estimates width of the histogram bins using 'scottsrule': rawBinWidth = 3.5*std(data)/(numel(data)^(1/3...

mer än 3 år ago | 1

| accepted

Barycentric Coordinates of a spherical triangle
This can be done in four steps: 1) Compute linear transformation (T) that maps triangle A to its counterpart B on the sphere....

mer än 3 år ago | 0

How do I use a .lut file (or the equivalent in MATLAB) to reference pixels in a grayscale image and assign them new values for pseudocoloring based on the LUT?
There is a Matlab function that maps gray values to RGB values using custom made look-up-tables. Its called 'ind2rgb': <https://...

mer än 3 år ago | 0

| accepted

Transformation of the complex plan: Conformal Mapping
Modified code ('conformal_map_demo') is attached below. In principle, this piece of code should should allow you to visualize an...

mer än 3 år ago | 1

How to sum each column element of one matrix with all column elements of another matrix?
Do kron([a b;c d],[1;1]) + kron([1;1],[i j;k l]) Here is an example using symbolic expressions syms a b c d i j k l...

mer än 3 år ago | 0

| accepted

Generating sets of non repeating random numbers
Here is an example: S=reshape(randperm(40),[],4); All elements in S will be in the range [1 40] and unique. From this it...

mer än 3 år ago | 1

3D plane plotting restricted by 3 points
Equation of a plane is determined uniquely by any 3 (noncollinear) points lying on the plane. Based on your question, it sounds ...

mer än 3 år ago | 0

| accepted

Could anyone help me with extracting similar features( to be used as corresponding points)in two images which need to be registered together?

mer än 3 år ago | 0

| accepted

How can I extract the slices of a 3D matrix in x-direction from a 3D matrix?
Suppose you have G, which is a Y-by-X-by-Z 3D array, then i-th xy slice: G_yx=G(:,:,i); % Y-by-X array i-th xz slice...

mer än 3 år ago | 2

| accepted

Multivariate nonlinear regression model fitting
If the function you are trying to fit is linear in terms of model parameters, you can estimate these parameters using linear lea...

mer än 3 år ago | 1

| accepted

How to export 3D spheres (3D plot) generated in Matlab to ANSYS or Abaqus. ?
The builtin 'ellipsoid' and 'sphere' functions produce bad quality meshes (in terms of element shapes and connectivity of the ve...

mer än 3 år ago | 1

Is there a way to open music and play it?
Yeah, there is a way. Here is an example: % Get sample audio file from the web [y,Fs]=webread('http://www.worldnationala...

mer än 3 år ago | 1

| accepted

How do I compute the maxpool of a image? Let us say stride of 2,2 on a mxn matrix?
Here is an example: % Sample image im=imread('cameraman.tif'); % sample image % 4 pixels comprising non-overlappi...

mer än 3 år ago | 0

How do I plot a plane that has points of different values?
Actually, based on the sample picture you provided, you have a total of 17x21 grid points, and total number of cells in the g...

mer än 3 år ago | 2

| accepted

Obtain Number of Pixels in Area Around Binary Image Object
To distinguish between points/pixels inside the ellipse vs. those outside, you need to know parameters of the ellipse. Here is a...

mer än 3 år ago | 0

| accepted

subplot with multiple images - Pulling images from API into one figure

mer än 3 år ago | 0

| accepted

How do you generate a Cumulative Histogram on R2014a?
Here is an example of how to use 'histcounts' and estimate percentiles: % Simulate data; N samples from standard Guassian P...

mer än 3 år ago | 0

I want to plot a numerical integral in a mesh which is dependent of x and y. How can I do this?
The integrals in your equation can be evaluated analytically. Here how you can visualize C(z1,z2) and C(z1,z1): L = 20...

mer än 3 år ago | 0

Interpolating scattered 3 dimensional data
Hi, Markus, here is a demo of how to perform linear interpolation of vector fields on a unit half-sphere: half_sphere_inter...

mer än 3 år ago | 1

Taylor expansion with 2 variables
Taylor's theorem generalizes to multivariate functions. Formula for third order approximation of a bivariate function can be fou...

mer än 3 år ago | 0

Troubleshooting Isosurface Rendering Code
Make sure that your 'Image' variable is cast as a double and actually has a zero level-set. Here is an example: % Samp...

mer än 3 år ago | 0

How to find distance between two nodes? including the nodes.

mer än 3 år ago | 0

how to deal with large polygons ?
Check out 'DecimatePoly' function on FEX: <https://www.mathworks.com/matlabcentral/fileexchange/34639-decimate-polygon> Inclu...

mer än 3 år ago | 1