Community Profile # Michal

Last seen: Today Actif depuis 2015

Programming Languages:
MATLAB, Fortran
Spoken Languages:
English

#### Statistiques

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

Afficher par

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

3 mois il y a | 1 réponse | 0

### 1

réponse

A répondu
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...

4 mois il y a | 0

| A accepté

A répondu
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...

5 mois il y a | 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...

5 mois il y a | 2 réponses | 0

### 2

réponses

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

8 mois il y a | 1 réponse | 0

### 0

réponse

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

9 mois il y a | 3 réponses | 0

### 3

réponses

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

9 mois il y a | 1 réponse | 0

### 1

réponse

A répondu
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....

9 mois il y a | 5

| A accepté

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

9 mois il y a | 4 réponses | 3

### 4

réponses

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

10 mois il y a | 1 réponse | 0

### 0

réponse

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

environ un an il y a | 1 réponse | 0

### 1

réponse

A répondu
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...

environ un an il y a | 0

A répondu
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/...

environ un an il y a | 5

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

environ un an il y a | 1 réponse | 0

### 1

réponse

A répondu
There is an official TMW statement ...

environ un an il y a | 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...

environ un an il y a | 1 réponse | 0

### 1

réponse

A répondu
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: ...

plus d'un an il y a | 0

| A accepté

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

plus d'un an il y a | 2 réponses | 0

### 2

réponses

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

plus d'un an il y a | 1 réponse | 1

### 1

réponse

A répondu
symbolic integration depends on different equivalent forms of function

plus d'un an il y a | 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...

plus d'un an il y a | 2 réponses | 0

### 2

réponses

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

plus d'un an il y a | 3 réponses | 0

### 3

réponses

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

plus d'un an il y a | 1 réponse | 0

### 0

réponse

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

plus d'un an il y a | 1 réponse | 0

### 1

réponse

A répondu
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...

presque 2 ans il y a | 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...

environ 2 ans il y a | 1 réponse | 0

### 0

réponse

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

environ 2 ans il y a | 2 réponses | 3

### 2

réponses

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

plus de 2 ans il y a | 3 réponses | 1

### 3

réponses

A répondu
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...

plus de 2 ans il y a | 0

Question

histogram of signals gaps width
I am looking for algorithm (effective + vectorized) how to find histogram of gaps (NaN) width in the following manner: signals ...

plus de 2 ans il y a | 2 réponses | 0

réponses