Community Profile

photo

Grzegorz Knor


Last seen: 2 months ago Active since 2010

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

Programming Languages:
Python

Statistics

All
  • Scavenger Finisher
  • Thankful Level 2
  • 6 Month Streak
  • Famous
  • Project Euler I
  • Personal Best Downloads Level 1
  • First Review
  • 5-Star Galaxy Level 3
  • First Submission
  • Pro
  • Revival Level 2
  • Knowledgeable Level 4

View badges

Content Feed

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

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

4 years ago | 1 answer | 1

1

answer

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 0

| accepted

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

4 years ago | 1

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

Answered
Logistic Function Transform of vector values
Matrix dimensions must agree. Add dot before division ( */* ): S1=(1./(1 + exp(1).^(-1*Stemp)))

4 years 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: ...

4 years ago | 2 answers | 2

2

answers

Answered
How 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) ...

4 years ago | 2

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

4 years ago | 0

Answered
Create a moving average
From MATLAB R2016a there is a function movmean which does not require additional toolboxes.

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

4 years ago | 1 answer | 0

1

answer

Question


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

5 years ago | 0 answers | 0

0

answers

Answered
Minimize rosenbrock function via particle swarm optimization algorithm
See: <http://www.mathworks.com/matlabcentral/fileexchange/7506> And for Rosenbrock function: <http://www.mathworks.com/...

7 years ago | 1

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

7 years ago | 0

Answered
How to convert mfile to c code????
Please refer to this page: <http://www.mathworks.com/products/matlab-coder/>

7 years ago | 0

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

7 years ago | 0

| accepted

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

7 years ago | 0

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

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

8 years ago | 1 answer | 0

1

answer

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

8 years ago | 3

| accepted

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

8 years ago | 0

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

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

8 years ago | 1 answer | 0

1

answer

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

8 years ago | 0

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

8 years ago | 0

| accepted

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

8 years ago | 2

| accepted

Load more