Feeds
답변 있음
How can I build a circuit solver in matlab ?
Hi, you need to familiarize yourself with MNA equations, see a nice explanation in SCAM - Symbolic Circuit Analysis in MatLab...
How can I build a circuit solver in matlab ?
Hi, you need to familiarize yourself with MNA equations, see a nice explanation in SCAM - Symbolic Circuit Analysis in MatLab...
거의 5년 전 | 1
답변 있음
Placing nested function in another .m-file.
> for clarity reason I want to put it in another file - is this possible? In C or other languages one would use a #include stat...
Placing nested function in another .m-file.
> for clarity reason I want to put it in another file - is this possible? In C or other languages one would use a #include stat...
거의 5년 전 | 0
답변 있음
regex replace whole word
Here we go: >> regexprep('v1 = v1a','\<v1\>','v(1)') ans = v(1) = v1a or as a strrep for whole words function...
regex replace whole word
Here we go: >> regexprep('v1 = v1a','\<v1\>','v(1)') ans = v(1) = v1a or as a strrep for whole words function...
6년 초과 전 | 0
질문
regex replace whole word
Hi, How to change 'v1 = v1a;' to 'v(1) = v1a;' using regex or regexrep? regexprep('v1 = v1a','\bv1\b'...
6년 초과 전 | 답변 수: 2 | 0
2
답변제출됨
str2syms(symstr)
str2syms evaluates a string representing a symbolic expression.
6년 초과 전 | 다운로드 수: 2 |
답변 있음
How to draw Simulink blocks with arbitrary connections?
Hi Julia, thanks for your reply. I would like to create a new domain with the possibility to connect more than two ports, ...
How to draw Simulink blocks with arbitrary connections?
Hi Julia, thanks for your reply. I would like to create a new domain with the possibility to connect more than two ports, ...
대략 7년 전 | 0
질문
How to draw Simulink blocks with arbitrary connections?
Started as answer to an <https://stackoverflow.com/questions/24905591/how-to-freely-draw-lines-and-paths-without-any-functionali...
대략 7년 전 | 답변 수: 2 | 0
2
답변답변 있음
Print a matrix in input form
function s = inputForm(A, name) %s = inputForm(A, name) % Create assignment code from disp output % % Inputs % ...
Print a matrix in input form
function s = inputForm(A, name) %s = inputForm(A, name) % Create assignment code from disp output % % Inputs % ...
대략 7년 전 | 2
| 수락됨
질문
Print a matrix in input form
Hi, is there a way to display a matrix in input format? So a copy/paste would be valid code, like >> inputForm(A) ...
7년 초과 전 | 답변 수: 1 | 1
1
답변질문
Drawing arbitrary connections between blocks (no Simscape)
Hi, * Normal Simulink prevents you from connecting more than one output to an input. * Two-way connectors allow one pair to ...
7년 초과 전 | 답변 수: 1 | 0
1
답변제출됨
Integrator for piecewise-constant / variable time step input
An alternative to continuous-time or fixed-step integrators.
7년 초과 전 | 다운로드 수: 1 |
질문
Simulink integrator for piecewise-constant / variable time step input
Hi, I am trying to write an efficient integrator (S-function preferred) for piecewise-constant / variable time step input. ...
7년 초과 전 | 답변 수: 0 | 0
0
답변질문
Simulink Stateflow - 'after' condition not precise?
(Also asked on <https://stackoverflow.com/questions/46244310/simulink-stateflow-after-condition-not-precise Stackexchange> ) ...
7년 초과 전 | 답변 수: 0 | 0
0
답변문제를 풀었습니다
Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...
거의 8년 전
문제를 풀었습니다
Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...
거의 8년 전
문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
거의 8년 전