Community Profile

Contact

Top 5% contributor

I'm a bit confused about how exactly SharedTestFixtures are executed. Given 3 test files, some of which use SharedTestFixtures...

1 Answers

2

Asked 9 months ago

it's known that the only way to create colored backgrounds for block groups in Simulink is to create empty masked subsystems and...

3 Answers

0

Asked 1 year ago

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

accepted

Answered 2 years ago

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

Asked 2 years ago

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

2 Answers

1

Yes, in fact, if a piecewise-linear contour is defined properly (i.e. the sides' points coordinates vectors are concatenated at ...

I'd like to know how to close all messageboxes that Simulink occasionally creates (in my case these are unimportant warnings aft...

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

Hello, I have arbitrary polynomial functions y=f(x) of a degree, say, N<30 and need to plot them over some predefined interva...

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

In order to plot a curve in MATLAB a set of points is calculated based on some formula. The function FPLOT also supports plotti...

This can be also related to the <http://stackoverflow.com/questions/11248235/how-do-i-write-dirty-unit-tests following StackOver...

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

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

Asked 12 months ago

I hope, a good answer will help understanding of how to use MATLAB in a truly efficient way... From the same input (stored in...

I have a code in which certain blocks are 'auxiliary' and others need to be measured for their running time. So it looks like: ...

I can model an electrical power system with 2 types of blocks: Simscape and Specialised Technology (aka Second and Third Generat...

It's needed to raise first-degree binomials (ax+b) (i.e. polynomial vectors [a b]) to integer powers. Is there any fast soluti...

Hello, lets assume I have one point with coordinates X1Y1=[1 1] and another point X2Y2=[1 1]. What is the shortest and possib...

I plot several arrays containing xy-coordinates of points (using plot(x,y)) and obtain a plot with some curves. The curves form ...

Is it possible to generate _column_ sample vectors by using either linspace()/logspace() or *:* - operator ? The background i...

I'd like to use onCleanup objects (among other things) to restore the initial matlabpath if the function terminates unexpectedly...

0 Answers

Asked 7 months ago

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

Asked 10 months ago

I have the same problem. I simulate from 0 to tend, but need to crop the initial part of simulation (with wild transients, which...

Answered 1 year ago

In Simulink (in particular, in SimPowerSystems), the 'Format' -> 'Font...' option changes both the font of the block name and th...

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

I'm using power_analyse to extract state space data from a *.mdl file (a SymPowerSystems-model). Then I transform the matrices t...

Asked 4 years ago

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries