photo

Michal


Last seen: Today Active since 2015

Followers: 0   Following: 0

Programming Languages:
MATLAB, Fortran
Spoken Languages:
English

Statistics

All
  • Thankful Level 4
  • 3 Month Streak
  • Explorer
  • First Review
  • First Submission
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

Question


fast evaluation of x(k+1) = x(k)*e(k)
Is there any special trick how to evaluate fast this recurrent formula: x(1) = x0 x(k+1) = x(k)*e(k), k= 1,2, ...N-1 where N...

6 months ago | 1 answer | 0

1

answer

Question


extremely inefficient piece of code ... bug?
I have two codes that implement exactly the same task: idx(idx<=0) = 1; idx(idx>=n) = n-1; and if idx <= 0 ...

10 months ago | 1 answer | 0

1

answer

Answered
linear 1st order ODEs sytem with time-dependent coefficients solver
This problem is now (starting from R2023a) fully covered by LTV models implemented at Control System Toolbox. These LTV models a...

11 months ago | 0

| accepted

Answered
linear 1st order ODEs sytem with time-dependent coefficients solver
There are two available toolboxes for time-dependent linear 1st order ODEs: LTVtools: https://www.mathworks.com/matlabcentral...

11 months ago | 0

Question


linear 1st order ODEs sytem with time-dependent coefficients solver
I need to solve many times the following ODEs system: F'(t) = A(t)*F(t) + B(t)*U(t) F(0) = F0 where matrices A(t), B(t) and v...

11 months ago | 2 answers | 0

2

answers

Question


simplify is not realible
How to simplify the folowing very simple expression: syms a b c e1 = -(b*(b^2 - 4*a*c)^(1/2) - 4*a*c + b^2)/(2*a*(b^2 - 4*a*c)...

1 year ago | 0 answers | 0

0

answers

Question


Merging piecewise polynomial (pp) structures
Is there any method how to merge two or more "pp" (peicewise polynomial) structures in a case of consecutive "pp" structures wi...

1 year ago | 3 answers | 0

3

answers

Question


MATLABConnector startup on Linux
Last two versios of MATLABConnector for Linux automatically put the app to the startup list, but in Preferereces settings is not...

1 year ago | 1 answer | 0

1

answer

Answered
Warning: X does not support locale en_US.UTF-8
Official TMW statement: "This is a warning message that can be disregarded and it has no impact on the functionality of MATLAB....

1 year ago | 5

| accepted

Question


Warning: X does not support locale en_US.UTF-8
After application of R2022b_upd5 on linux mint (21.1 Cinammon) I always get the following warning at the startup: Warning: X doe...

1 year ago | 4 answers | 3

4

answers

Question


Volterra integral equation solver
I am looking for good (fast and accurate, with recent state of art methods) numerical (not symbolic) Volterra Integral Equation ...

1 year ago | 0 answers | 0

0

answers

Question


strange performance behavior - microbenchmark
There are two implementations of the same algorithm: function B = alg1( B, R, alpha ) % Fast computation of L1 distance transf...

1 year ago | 1 answer | 0

1

answer

Answered
How do I speed up lsim computation in a for loop?
Better than naive using of parfor loop is transform to your final simulation model to the sparse form ... see here Transform m...

1 year ago | 0

Answered
Why does MATLAB crash on Linux with "Inconsistency detected by ld.so: ../elf/dl-tls.c: 597: _dl_allocate_tls_init:"
I have similar problem with MATLAB coder on R2022b (Ubuntu Linux 20.04.3) >> coder >> Inconsistency detected by ld.so: ../elf/...

1 year ago | 6

Question


INTEL oneAPI support for linux MATLAB
TMW officially does not support INTEL oneAPI compilers (C/C++ and Fortran), but only GCC and GFORTRAN on Linux platform. See her...

1 year ago | 1 answer | 0

1

answer

Answered
I have received "deactivation required"
There is an official TMW statement ...

1 year ago | 2

Question


Free-knot spline approximation (BSFK) problem
@BrunoLuong My data acquisition system produce periodically 1-D measured noised data with the fixed time window length W. I wa...

2 years ago | 1 answer | 0

1

answer

Answered
Use Java 11 jar files in Matlab
You can use following java compiler (javac) option: --release <release> Compile for a specific VM version. Supported targets: ...

2 years ago | 0

| accepted

Question


support of Java11
What are the plans to to use Java11 in future MATLAB releases? So far is still using Java 1.8, but Java 11 is now standard defau...

2 years ago | 2 answers | 0

2

answers

Question


decomposition used in parfor
In the following problem, where I need to solve many times same linear system "A" with different right sides "b" is very benefit...

2 years ago | 1 answer | 1

1

answer

Answered
symbolic integration depends on different equivalent forms of function
Simple <https://www.mathworks.com/matlabcentral/answers/507683-why-does-x-x-y-dy-give-a-x-3-component#answer_418071 solution> to...

2 years ago | 0

Question


symbolic integration depends on different equivalent forms of function
I performed the following equaivalent symbolic integrations: syms x y A = int(x+y,x); A_ = expand(A); % just expanded...

2 years ago | 2 answers | 0

2

answers

Question


multi array vectorization problem (reformulated)
How to vectorize (for-loop elimination) the following code? % init A = [ -0.8013 -0.4981; -0.2278 -0.9009]; t = 0:0.01:...

2 years ago | 3 answers | 0

3

answers

Question


How to formulate linear control problem for Stochastic Differential Equation solvers
I have the following linear control problem: x'(t) = A*x(t) + B*u(t) y(t) = C*x(t) + D*u(t) where x(t0) = x0 ... initial co...

2 years ago | 1 answer | 0

1

answer

Question


Most effective way to solve nonhomogeneous linear ODE problem
What is the most effective way to solve following "small" linear 1st order ODEs problem: x'(t) = Ax(t) + Bu(t) x(t0) = x0 whe...

2 years ago | 1 answer | 0

1

answer

Answered
Use Filter Constants to Hard Code Filter
Probably fully functional naive version of filter: function [Y, z] = myFilter(b, a, X, z) % a and b should have same order...

2 years ago | 0

Question


Algorithm for homogenization of non-equidistant 1-D grid
I am looking for proper algorithm for so called "delta-homogenization" of 1-D non-equidistant grid. Definition: The sorted mono...

2 years ago | 0 answers | 0

0

answers

Question


Matlab is significantly slower than Julia on simple evaluation
More and more frequently some people open the question about speed comparison between Matlab and Julia. The main Julia developer...

2 years ago | 2 answers | 3

2

answers

Question


expm function problem for stiff matrix
For very specific matrix A: a = -1e20; b = eps; c = 1; A = [a,0,b;0,c,0;-b,0,a]; disp('A:'), disp(num2str(A)) A: ...

3 years ago | 3 answers | 1

3

answers

Answered
histogram of signals gaps width
This is much more simple Matlab implementation but still not optimal (+ not vectorized): signals = [1.1 NaN NaN NaN -1.4 NaN 8...

3 years ago | 0

Load more