Statistiques
RANG
7 712
of 295 569
RÉPUTATION
6
CONTRIBUTIONS
26 Questions
3 Réponses
ACCEPTATION DE VOS RÉPONSES
73.08%
VOTES REÇUS
5
RANG
of 20 247
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 154 105
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
How to ensure that onCleanup destroys last
I'd like to use onCleanup objects (among other things) to restore the initial matlabpath if the function terminates unexpectedly...
presque 9 ans il y a | 2 réponses | 0
2
réponsesQuestion
Execution rules of SharedTestFixtures for complex dependencies
I'm a bit confused about how exactly SharedTestFixtures are executed. Given 3 test files, some of which use SharedTestFixtures...
presque 9 ans il y a | 1 réponse | 2
1
réponseQuestion
How to write tests for bad input, e.g. to check its proper handling
This can be also related to the <http://stackoverflow.com/questions/11248235/how-do-i-write-dirty-unit-tests following StackOver...
presque 9 ans il y a | 1 réponse | 0
1
réponseQuestion
How to make function available for several classes
My problem is that I'm using one-liner functions like isint = @(x) all(imag(x)==0 & mod(x, 1)==0); to check the type of ...
presque 9 ans il y a | 1 réponse | 0
1
réponseQuestion
calculate matrix from elements of other matrix
Given matrix A = [a(i,j)], what is an efficient and (if possible) concise/readable way to calculate matrix B with elements b(i,j...
environ 9 ans il y a | 1 réponse | 0
0
réponseQuestion
calculate matrix from elements of other matrix
Given matrix A = [a(i,j)], what is an efficient and (if possible) concise/readable way to calculate matrix B with elements b(i,j...
environ 9 ans il y a | 1 réponse | 0
0
réponseQuestion
calculate matrix from elements of other matrix
Given matrix A = [a(i,j)], what is an efficient and (if possible) concise/readable way to calculate matrix B with elements b(i,j...
environ 9 ans il y a | 1 réponse | 0
0
réponseQuestion
python list extension with scalars
I need to export a few data from MATLAB to Python via the Python engine. It's needed to transform some 1xN vectors to python li...
environ 9 ans il y a | 1 réponse | 0
1
réponseQuestion
Different run time of eig() for the same matrix (calculated in 2 different ways)
I hope, a good answer will help understanding of how to use MATLAB in a truly efficient way... From the same input (stored in...
plus de 9 ans il y a | 1 réponse | 0
1
réponseQuestion
timeit() for a block of code/precise time measurement for a block of code
I have a code in which certain blocks are 'auxiliary' and others need to be measured for their running time. So it looks like: ...
plus de 9 ans il y a | 1 réponse | 0
1
réponseTime-range simulation in Simulink
I have the same problem. I simulate from 0 to tend, but need to crop the initial part of simulation (with wild transients, which...
plus de 9 ans il y a | 0
Question
How to prevent a background subsystem from opening
it's known that the only way to create colored backgrounds for block groups in Simulink is to create empty masked subsystems and...
plus de 9 ans il y a | 3 réponses | 0
3
réponsesQuestion
Close all messageboxes (generated by Simulink)
I'd like to know how to close all messageboxes that Simulink occasionally creates (in my case these are unimportant warnings aft...
plus de 9 ans il y a | 2 réponses | 0
2
réponsesQuestion
How do I change the font of a block name (without affecting the font of block labels etc)
In Simulink (in particular, in SimPowerSystems), the 'Format' -> 'Font...' option changes both the font of the block name and th...
plus de 9 ans il y a | 1 réponse | 0
0
réponseQuestion
SimPowerSystems: 2nd vs 3rd Generation in terms of speed
I can model an electrical power system with 2 types of blocks: Simscape and Specialised Technology (aka Second and Third Generat...
plus de 9 ans il y a | 1 réponse | 0
1
réponseQuestion
How to drop last N round-off error digits?
a=sqrt(pi) returns 1.77245385090552, where the last digit is not reliable, and this digit is of the order 1e-14. Now, a=sqrt(...
plus de 10 ans il y a | 3 réponses | 1
3
réponsesQuestion
Raise Binomials to integer powers
It's needed to raise first-degree binomials (ax+b) (i.e. polynomial vectors [a b]) to integer powers. Is there any fast soluti...
plus de 10 ans il y a | 1 réponse | 0
1
réponseargument vector for smooth function plots
No, I'm quite sane. The degree of 30 is only _an example_ of a high degree. Normally, the degree is 4-15, at max. 20. If ther...
plus de 10 ans il y a | 0
| A accepté
Question
linspace and colon with column vector output
Is it possible to generate _column_ sample vectors by using either linspace()/logspace() or *:* - operator ? The background i...
plus de 10 ans il y a | 1 réponse | 0
1
réponseQuestion
pad vector between its values
I wonder if it's possible to pad a vector with intermediate points in order to make it more "smooth" _in an elegant way_ (i.e. w...
plus de 10 ans il y a | 3 réponses | 0
3
réponsesQuestion
plot parametric curves between xy-limits
I'm not sure if it's possible at all, but may be somebody knows the answer.. I have two parametric equations: x=f(t) ...
plus de 10 ans il y a | 1 réponse | 0
0
réponseQuestion
Detect parts of a 0/1 (binary) vector consisting of only 0 or 1
Let's say I have a vector of 0 and 1: a=[1 1 1 0 0 0 1 0 1 0 0 1 1 0]; It's needed to find a way to extract the vector's...
plus de 10 ans il y a | 2 réponses | 1
2
réponsesQuestion
compare two vectors/compare coordinates
Hello, lets assume I have one point with coordinates X1Y1=[1 1] and another point X2Y2=[1 1]. What is the shortest and possib...
plus de 10 ans il y a | 1 réponse | 0
1
réponseQuestion
argument vector for smooth function plots
Hello, I have arbitrary polynomial functions y=f(x) of a degree, say, N<30 and need to plot them over some predefined interva...
plus de 10 ans il y a | 2 réponses | 0
2
réponsesQuestion
detect closed shapes formed by several arrays of points
I plot several arrays containing xy-coordinates of points (using plot(x,y)) and obtain a plot with some curves. The curves form ...
presque 11 ans il y a | 1 réponse | 0
1
réponsefill/patch for a piecewise-linear closed contour/polygon
Yes, in fact, if a piecewise-linear contour is defined properly (i.e. the sides' points coordinates vectors are concatenated at ...
presque 11 ans il y a | 0
| A accepté
Question
fill/patch for a piecewise-linear closed contour/polygon
Hello, I've tried to use the function _fill(X,Y,C)_ with the set of data specified *in the attached m-file (contour_draft.m)...
presque 11 ans il y a | 2 réponses | 0
2
réponsesQuestion
Curve tolerance between the calculated points
In order to plot a curve in MATLAB a set of points is calculated based on some formula. The function FPLOT also supports plotti...
presque 11 ans il y a | 1 réponse | 1
1
réponseQuestion
Power_analyze-increase accuracy (state-space)
I'm using power_analyse to extract state space data from a *.mdl file (a SymPowerSystems-model). Then I transform the matrices t...
presque 12 ans il y a | 1 réponse | 0