Community Profile

Michal

Last seen: 1 giorno fa Attivo dal 2015

Programming Languages:
MATLAB, Fortran
Spoken Languages:
English

All

Content Feed

Visto da

Domanda

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

3 mesi fa | 1 risposta | 0

1

risposta

Domanda

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

8 mesi fa | 1 risposta | 0

1

risposta

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

9 mesi fa | 0

| accettato

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

9 mesi fa | 0

Domanda

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

9 mesi fa | 2 risposte | 0

2

risposte

Domanda

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

circa un anno fa | 0 risposte | 0

0

risposte

Domanda

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

circa un anno fa | 3 risposte | 0

3

risposte

Domanda

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

circa un anno fa | 1 risposta | 0

1

risposta

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

circa un anno fa | 5

| accettato

Domanda

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

circa un anno fa | 4 risposte | 3

4

risposte

Domanda

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

circa un anno fa | 0 risposte | 0

0

risposte

Domanda

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

oltre un anno fa | 1 risposta | 0

1

risposta

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

oltre un anno fa | 0

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

oltre un anno fa | 6

Domanda

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

oltre un anno fa | 1 risposta | 0

1

risposta

Risposto
There is an official TMW statement ...

oltre un anno fa | 2

Domanda

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

oltre un anno fa | 1 risposta | 0

1

risposta

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

oltre un anno fa | 0

| accettato

Domanda

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

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda

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

oltre un anno fa | 1 risposta | 1

1

risposta

Risposto
symbolic integration depends on different equivalent forms of function

oltre un anno fa | 0

Domanda

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

oltre un anno fa | 2 risposte | 0

2

risposte

Domanda

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

quasi 2 anni fa | 3 risposte | 0

3

risposte

Domanda

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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda

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

quasi 2 anni fa | 1 risposta | 0

1

risposta

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

circa 2 anni fa | 0

Domanda

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

oltre 2 anni fa | 0 risposte | 0

0

risposte

Domanda

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

oltre 2 anni fa | 2 risposte | 3

2

risposte

Domanda

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

quasi 3 anni fa | 3 risposte | 1

3

risposte

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

quasi 3 anni fa | 0