# Grzegorz Knor

Professional Interests: data science, finite element method, signal processing, machine learning

**Programming Languages:**

Python

**Statistics**

RANK**127**

of 257 929

REPUTATION**845**

CONTRIBUTIONS

**10** Questions

**305** Answers

ANSWER ACCEPTANCE **
60.0%
**

VOTES RECEIVED**151**

RANK**2 497** of 17 771

REPUTATION**627**

AVERAGE RATING**4.10**

CONTRIBUTIONS**4** Files

DOWNLOADS **14**

ALL TIME DOWNLOADS**5987**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

anyone have source code of fuzzy c means?

There is <https://uk.mathworks.com/help/fuzzy/fcm.html fcm> function from <https://uk.mathworks.com/help/fuzzy/index.html?s_cid=...

nästan 5 år ago | 1

Question

Live Editor and view neural network

Hi, I would like to add a neural network graphical diagram to my live script. Unfortunately command <https://uk.mathworks.co...

nästan 5 år ago | 1 answer | 1

### 1

answerHow to get 15-min average values from 10 min average values?

I suggest to use interpolation: <https://uk.mathworks.com/help/matlab/ref/interp1.html interp1> t1 = 10:10:60 av1 = [3, ...

nästan 5 år ago | 0

save image in matlab

Please read this topic in a documentation: <https://www.mathworks.com/help/matlab/creating_plots/save-figure-at-specific-size-a...

nästan 5 år ago | 0

| accepted

Question on imageDataStore syntax and parameters

All 'Name-Value Pair' arguments are described in the documentation: <https://uk.mathworks.com/help/matlab/ref/imagedatastore.ht...

nästan 5 år ago | 0

| accepted

re-train a pre-trained autoencoder

To encode data from retrained network you need to create new network, which contains only encoder layer. Please see the code (it...

nästan 5 år ago | 1

I want to create random bumps on a flat surface

You can add <https://en.wikipedia.org/wiki/Gaussian_function#Two-dimensional_Gaussian_function Two-dimensional Gaussian function...

nästan 5 år ago | 0

| accepted

Read the data from specific line in MATLAB

For the first time use <https://uk.mathworks.com/help/matlab/import_export/import-data-interactively.html Import Tool> and then ...

nästan 5 år ago | 0

How could I find the start index of an "approximate" pattern in a binary vector

I would try <https://uk.mathworks.com/help/matlab/ref/regexp.html regular expressions> : case1 = [0 0 0 0 0 0 0 1 1 1 0 0 0...

nästan 5 år ago | 0

Logistic Function Transform of vector values

Matrix dimensions must agree. Add dot before division ( */* ): S1=(1./(1 + exp(1).^(-1*Stemp)))

nästan 5 år ago | 0

| accepted

Question

Convolutional neural network: parallel layers

Is it possible to create a CNN with parallel layers in MATLAB? For example I would like to build network similar to this one: ...

nästan 5 år ago | 2 answers | 2

### 2

answersHow to determine which algorithm mldivide (A\b) uses

For sparse matrices check function <https://uk.mathworks.com/help/matlab/ref/spparms.html spparms> : spparms('spumoni',2) ...

ungefär 5 år ago | 2

How to calculate moving average in a matrix?

From MATLAB R2016a there are functions _<https://uk.mathworks.com/help/matlab/ref/movmean.html%20 movmean>_ and _<https://uk.mat...

ungefär 5 år ago | 0

Create a moving average

From MATLAB R2016a there is a function movmean which does not require additional toolboxes.

ungefär 5 år ago | 3

Question

Pareto chart and XTickLabelRotation

Is there a way to plot Pareto chart and rotate XTick labels properly? Let's look at the code: y = randi(1e3,10,1); name...

ungefär 5 år ago | 1 answer | 0

### 1

answerQuestion

plot - strange behaviour for big numbers

I've found a strange behavior of *plot* function in MATLAB 2015b (Windows 7). Namely this code: plot([1,1],[1e+19,100]) ...

mer än 5 år ago | 0 answers | 0

### 0

answersMinimize rosenbrock function via particle swarm optimization algorithm

See: <http://www.mathworks.com/matlabcentral/fileexchange/7506> And for Rosenbrock function: <http://www.mathworks.com/...

ungefär 7 år ago | 1

how can i solve this integral ?

You can solve it online using Wolfram Alpha-> <http://www.wolframalpha.com/input/?i=Integrate%5B%25281+-+E%5E%25280.0081+x%2529+...

nästan 8 år ago | 0

How to convert mfile to c code????

Please refer to this page: <http://www.mathworks.com/products/matlab-coder/>

nästan 8 år ago | 0

Rotation of a contour plot

Look at this example: a = 37; [x,y] = meshgrid(linspace(-4,4,30)); z = exp(-x.^2/15-y.^2); contour(x,y,z) xlim(...

nästan 8 år ago | 0

| accepted

is it possible to square every element in equation ?

You have to use regular expression. <http://www.mathworks.com/help/matlab/ref/regexprep.html> Suppose that you use only s...

ungefär 8 år ago | 0

How can I solve this equation in MATLAB

Use mldivide operator to solve systems of linear equations of type Ax = b: <http://www.mathworks.com/help/matlab/ref/mldivide...

ungefär 8 år ago | 0

Question

Patternsearchw with genetic algorithm

Hi, I would like to run _patternsearch_ function with _SearchMethod_ option set to _searchga_. But it seems that _patternsear...

mer än 8 år ago | 1 answer | 0

### 1

answerHow can I find out what algorithm mldivide is using?

See *spparms* function. For example: A = sparse(diag(rand(5,1))) spparms('spumoni',2) A\rand(5,1) produces: s...

mer än 8 år ago | 3

| accepted

[Animation]: To animate a figure as function of several variables

See *getframe* and *movie* functions in the MATLAB documentation.There is a following example: Z = peaks; figure('Render...

mer än 8 år ago | 0

Plotting a complicated function

Use *ezplot* function: ezplot('sqrt((2*(a+b))/(a*b)) - (1+sqrt(a))/sqrt(a) - (sqrt((2)/(b*(1+b))))*(1-b) = 1/sqrt(a) - (sqr...

mer än 8 år ago | 0

Question

Clipping property doesn't work?

It seems that *clipping* property doesn't work for plot objects like *bar*, *stem*, *stairs*. See simple exapmle: plot(1...

mer än 8 år ago | 1 answer | 0

### 1

answerCircle plotting on different Planes

Try this code: X = [2 4 5 7]; Y = [0 2 1 0]; Z = [1 3 5 7]; r = 0.5; [x,y,z] = cylinder(r*ones(size(X)),1...

mer än 8 år ago | 0

smoothing plots from data

Are you sure that you want use anti-aliasing? *Linesmoothing* is an undocumented feature. You can use the *smooth* function t...

mer än 8 år ago | 0

| accepted

how to select first 23 rows and 25 columns from a 25 X 25 matrix in matlab

a = rand(25); b = a(1:23,:); <http://www.mathworks.com/help/matlab/math/matrix-indexing.html>

mer än 8 år ago | 2

| accepted